Add more secure headers
This commit is contained in:
parent
b213fe4448
commit
fa38120b20
1 changed files with 9 additions and 0 deletions
|
@ -7,3 +7,12 @@
|
|||
HUGO_ENV = "production"
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue