Ver código fonte

Merge branch 'add-media-path-to-caddy-cache' into 'develop'

Add /media to Caddy cache

See merge request pleroma/pleroma!791
tags/v1.1.4
lambda 5 anos atrás
pai
commit
99fd199bda
1 arquivos alterados com 5 adições e 0 exclusões
  1. +5
    -0
      installation/caddyfile-pleroma.example

+ 5
- 0
installation/caddyfile-pleroma.example Ver arquivo

@@ -24,6 +24,11 @@ example.tld {
# If you do not want to use the mediaproxy function, remove these lines.
# To use this directive, you need the http.cache plugin for Caddy.
cache {
match_path /media
default_max_age 720m
}

cache {
match_path /proxy
default_max_age 720m
}


Carregando…
Cancelar
Salvar