Sync Caddyfile.snippet with live edge config
All checks were successful
CI / skip-ci-check (push) Successful in 4s
CI / secret-scan (push) Successful in 3s
CI / node-ci (push) Successful in 44s

Edge (10.0.10.20) already uses the shared security-headers snippet and
a permanent (301) www redirect; the checked-in reference snippet had
drifted (302 redirect, no security headers, stale upstream IP).
This commit is contained in:
Builder 2026-07-08 11:05:24 -04:00
parent 10a72495db
commit e077dec21b

View File

@ -1,17 +1,12 @@
# Replace the existing iliadobkin.com block in your Caddy VM's Caddyfile.
# Live block (edge 10.0.10.20) as of 2026-07-08 uses the shared `security-headers`
# snippet instead of a one-off header block, and a permanent (301) www redirect.
iliadobkin.com {
reverse_proxy 10.0.10.124:8080
header {
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy strict-origin-when-cross-origin
Permissions-Policy "geolocation=(), microphone=(), camera=()"
-Server
}
import security-headers
reverse_proxy 10.0.10.106:80
}
www.iliadobkin.com {
redir https://iliadobkin.com{uri}
redir https://iliadobkin.com{uri} permanent
}