commit: 99fd199bda8bd90cd3e8c69d54087531ddc02eac
parent: 1eecbc1cd1a7f632e536f943fab6612e1e108d59
Author: lambda <pleromagit@rogerbraun.net>
Date: Sat, 9 Feb 2019 11:39:01 +0000
Merge branch 'add-media-path-to-caddy-cache' into 'develop'
Add /media to Caddy cache
See merge request pleroma/pleroma!791
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/installation/caddyfile-pleroma.example b/installation/caddyfile-pleroma.example
@@ -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
}