dot-hugo/exampleSite/netlify.toml

16 lines
422 B
TOML

[build]
publish = "public"
command = "hugo --minify --gc"
[build.environment]
HUGO_VERSION = "0.87.0"
HUGO_BASEURL = "/"
[[headers]]
for = "/*" # This defines which paths this specific [[headers]] block will cover.
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "same-origin"
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"