summaryrefslogtreecommitdiff
path: root/installation/caddyfile-pleroma.example
diff options
context:
space:
mode:
authorWim Vanderbauwhede <wim.vanderbauwhede@mail.be>2019-02-14 16:41:40 +0000
committerWim Vanderbauwhede <wim.vanderbauwhede@mail.be>2019-02-14 16:41:40 +0000
commit04b1c135543965860029557fc216eb38fd63b6c7 (patch)
treec1fb60376eeb35539704c23d282af7777895d4ea /installation/caddyfile-pleroma.example
parentbf5b1c7f06c9f8882c40cf2385439bee3b74522c (diff)
parent1d17082ab2523eb75ee0ca4a49e45da0d0edabd7 (diff)
downloadpleroma-04b1c135543965860029557fc216eb38fd63b6c7.tar.gz
pleroma-04b1c135543965860029557fc216eb38fd63b6c7.zip
Merge remote-tracking branch 'upstream/develop' into patch-image-description
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
}