feat: add security headers to caddyfile

This commit is contained in:
ruinivist
2026-06-01 07:41:22 +00:00
parent 95d27c5142
commit 887d3776b8
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -6,6 +6,12 @@
:80 {
encode zstd gzip
header {
X-Frame-Options "DENY"
X-Content-Type-Options "nosniff"
Referrer-Policy "strict-origin-when-cross-origin"
}
@mcp path /mcp
handle @mcp {
reverse_proxy 127.0.0.1:3001