From d7ee0a0f3f816af6138657e94e3703892d2a8506 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Wed, 4 Dec 2024 18:03:28 -0500 Subject: [PATCH] Start splitting Caddyfile --- _server/Caddyfile | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/_server/Caddyfile b/_server/Caddyfile index d931849..2045fba 100644 --- a/_server/Caddyfile +++ b/_server/Caddyfile @@ -17,6 +17,8 @@ header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" } +import caddy.d/* + *.pds.vcsjones.dev, pds.vcsjones.dev { tls { on_demand @@ -48,27 +50,6 @@ www.vcsjones.dev, vcsjones.com, www.vcsjones.com { redir https://vcsjones.dev{uri} } -asn.vcsjones.dev { - import tls - import tls-headers - encode gzip - - header * { - X-XSS-Protection "0" - Referrer-Policy no-referrer - X-Frame-Options DENY - X-Content-Type-Options nosniff - Cross-Origin-Resource-Policy "same-origin" - Cross-Origin-Embedder-Policy "require-corp" - Cross-Origin-Opener-Policy "same-origin" - Cache-Control "public, max-age=3600" - Content-Security-Policy "default-src 'none'; connect-src 'self'; style-src 'self'; script-src 'self' 'wasm-unsafe-eval'; frame-ancestors 'none'; form-action 'none'; block-all-mixed-content; base-uri 'none';" - } - - root * /var/wwwroot/asn.vcsjones.dev - file_server -} - vcsjones.dev { import tls import tls-headers