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