diff --git a/netlify.toml b/netlify.toml index 20c8734..ab43e05 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,12 +6,3 @@ HUGO_VERSION = "0.55.6" NODE_ENV = "production" NPM_CONFIG_PRODUCTION = "false" - -[[headers]] - for = "/*" - [headers.values] - X-Frame-Options = "SAMEORIGIN" - X-XSS-Protection = "1; mode=block" - X-Content-Type-Options = "nosniff" - Referrer-Policy = "same-origin" - Strict-Transport-Security = "max-age=5184000" diff --git a/static/_headers b/static/_headers new file mode 100644 index 0000000..0585b95 --- /dev/null +++ b/static/_headers @@ -0,0 +1,6 @@ +/* + X-Frame-Options: SAMEORIGIN + X-XSS-Protection: 1; mode=block + X-Content-Type-Options: nosniff + Referrer-Policy: same-origin + Strict-Transport-Security: max-age=5184000