summaryrefslogtreecommitdiff
path: root/installation/caddyfile-pleroma.example
diff options
context:
space:
mode:
authorKaren Konou <konoukaren@gmail.com>2019-02-11 12:10:10 +0100
committerKaren Konou <konoukaren@gmail.com>2019-02-11 12:10:49 +0100
commitac72b578da673282b927b945bfe03cd3012444b6 (patch)
tree45b8c075aa883ca47fd24f3e71f6740bd2f2308b /installation/caddyfile-pleroma.example
parentc01ef574c192488c2643a20b4064439757613449 (diff)
parent48552b38b2dd26bb832e940a0e52c0e1c2165b31 (diff)
downloadpleroma-ac72b578da673282b927b945bfe03cd3012444b6.tar.gz
pleroma-ac72b578da673282b927b945bfe03cd3012444b6.zip
Merge branch 'develop' into feature/thread-muting
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
}