mirror of https://gitlab.com/curben/blog
post(caddy): xml/rss should not be cached for a week
This commit is contained in:
parent
d50f580cc5
commit
56992697a7
|
@ -473,7 +473,7 @@ Since I also set up reverse proxy for {% post_link tor-hidden-onion-nixos 'Tor O
|
||||||
|
|
||||||
(pathProxy) {
|
(pathProxy) {
|
||||||
@staticFiles {
|
@staticFiles {
|
||||||
path *.css *.gif *.ico *.jpg *.js *.png *.svg *.webp *.xml
|
path *.css *.gif *.ico *.jpg *.js *.png *.svg *.webp
|
||||||
}
|
}
|
||||||
header @staticFiles {
|
header @staticFiles {
|
||||||
Cache-Control "max-age=604800, public"
|
Cache-Control "max-age=604800, public"
|
||||||
|
|
Loading…
Reference in New Issue