Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
Add HTTP response headers for improved security (#669)
Browse files Browse the repository at this point in the history
* Add HTTP response headers for improved security

This reverts commit 4c3e1f8.
  • Loading branch information
mmistakes committed Feb 14, 2019
1 parent 1e7480b commit afd8b39
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions netlify.toml
@@ -1,3 +1,12 @@
[build]
command = "gulp build --prod"
publish = "dist"

[[headers]]
for = "/*"
[headers.values]
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"

0 comments on commit afd8b39

Please sign in to comment.