Update Caddyfile

This commit is contained in:
Roman Kelesidis 2025-08-21 17:28:07 +03:00
commit 1d24f3625a
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -32,11 +32,10 @@
Cache-Control "public, max-age=31536000" Cache-Control "public, max-age=31536000"
} }
header { @html_css_js {
X-Frame-Options "SAMEORIGIN" path *.html *.css *.js *.json *.xml *.txt
X-Content-Type-Options "nosniff"
Referrer-Policy "strict-origin-when-cross-origin"
} }
header @html_css_js Content-Type "{mime}; charset=utf-8"
} }
# HTTPS redirect (only if SSL is enabled) # HTTPS redirect (only if SSL is enabled)