summaryrefslogtreecommitdiff
path: root/installation/caddyfile-pleroma.example
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-02-11 13:54:21 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-02-11 13:54:21 +0700
commit305d2194136d4560e02c110d528164034d3727b2 (patch)
tree40510e1c4dc0140ff16e2fdc483da64c83b7077c /installation/caddyfile-pleroma.example
parent5b1d7c3c5672af065af503891d156b6e0cf5a8c1 (diff)
parent06c4935c11fc58f5ede18706bc46dcc502e64052 (diff)
downloadpleroma-305d2194136d4560e02c110d528164034d3727b2.tar.gz
pleroma-305d2194136d4560e02c110d528164034d3727b2.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
# Conflicts: # lib/pleroma/web/federator/federator.ex # lib/pleroma/web/websub/websub.ex
Diffstat (limited to 'installation/caddyfile-pleroma.example')
-rw-r--r--installation/caddyfile-pleroma.example5
1 files changed, 5 insertions, 0 deletions
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
@@ -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
}