X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fcaddyfile-pleroma.example;h=fcf76718e74ebd1f47f34e9461de26fc5c226779;hb=ea2698beb75074e6c94acf0c66bcdbdb47f59acd;hp=03ff000b6c00b6ec6344f108d9b4ccdf3fbaade9;hpb=54923c2e55e2d241b53a62a4abbd2501abdcae32;p=akkoma 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