Update Caddyfile

This commit is contained in:
Roman Kelesidis 2025-08-21 20:20:16 +03:00
commit 9f4b9350a3
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -22,16 +22,6 @@
redir /sitemap.xml /sitemap/sitemap.xml 301 redir /sitemap.xml /sitemap/sitemap.xml 301
@static {
path *.html *.css *.js *.json *.xml *.txt *.ico
path *.png *.jpg *.jpeg *.gif *.svg *.webp
path *.woff *.woff2 *.ttf *.eot
}
header @static {
Content-Type "{mime}; charset=utf-8"
Cache-Control "public, max-age=31536000"
}
@html_css_js { @html_css_js {
path *.html *.css *.js *.json *.xml *.txt path *.html *.css *.js *.json *.xml *.txt
} }