1
Fork 0

Add more secure headers

This commit is contained in:
Jake Howard 2018-05-27 11:46:12 +01:00
parent b213fe4448
commit fa38120b20
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -7,3 +7,12 @@
HUGO_ENV = "production" HUGO_ENV = "production"
NODE_ENV = "production" NODE_ENV = "production"
NPM_CONFIG_PRODUCTION = "false" 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"