forked from mirrors/akkoma
Merge branch 'add-media-path-to-caddy-cache' into 'develop'
Add /media to Caddy cache See merge request pleroma/pleroma!791
This commit is contained in:
commit
99fd199bda
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ example.tld {
|
||||||
|
|
||||||
# If you do not want to use the mediaproxy function, remove these lines.
|
# 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.
|
# To use this directive, you need the http.cache plugin for Caddy.
|
||||||
|
cache {
|
||||||
|
match_path /media
|
||||||
|
default_max_age 720m
|
||||||
|
}
|
||||||
|
|
||||||
cache {
|
cache {
|
||||||
match_path /proxy
|
match_path /proxy
|
||||||
default_max_age 720m
|
default_max_age 720m
|
||||||
|
|
Loading…
Reference in a new issue