Bläddra i källkod

Add /media to Caddy cache

tags/v1.1.4
shibayashi lambda 5 år sedan
förälder
incheckning
e868cfe619
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. +5
    -0
      installation/caddyfile-pleroma.example

+ 5
- 0
installation/caddyfile-pleroma.example Visa fil

@@ -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
}


Laddar…
Avbryt
Spara