This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
snippets/netlify.toml
2019-09-21 17:06:19 +01:00

17 lines
457 B
TOML

[build]
publish = "public/"
command = "./scripts/build.sh --minify"
[build.environment]
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"