1
0
Fork 0
mirror of https://git.youjo.love/youjo/youjo-be.git synced 2025-03-25 04:07:48 +01:00

Add /media to Caddy cache

This commit is contained in:
shibayashi 2019-02-09 11:39:01 +00:00 committed by lambda
parent 1eecbc1cd1
commit e868cfe619

View file

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