Add /media to Caddy cache
This commit is contained in:
parent
1eecbc1cd1
commit
e868cfe619
@ -24,6 +24,11 @@ example.tld {
|
|||||||
# If you do not want to use the mediaproxy function, remove these lines.
|
# 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.
|
# To use this directive, you need the http.cache plugin for Caddy.
|
||||||
cache {
|
cache {
|
||||||
|
match_path /media
|
||||||
|
default_max_age 720m
|
||||||
|
}
|
||||||
|
|
||||||
|
cache {
|
||||||
match_path /proxy
|
match_path /proxy
|
||||||
default_max_age 720m
|
default_max_age 720m
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user