From: shibayashi Date: Sat, 9 Feb 2019 11:39:01 +0000 (+0000) Subject: Add /media to Caddy cache X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e868cfe619a7e01775cc8f71a0b9e7d54c301ca3;p=akkoma Add /media to Caddy cache --- diff --git a/installation/caddyfile-pleroma.example b/installation/caddyfile-pleroma.example index 03ff000b6..fcf76718e 100644 --- a/installation/caddyfile-pleroma.example +++ b/installation/caddyfile-pleroma.example @@ -23,6 +23,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