Skip to content

Commit

Permalink
Set security headers for public site
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaals committed Aug 18, 2020
1 parent 84b37ea commit 1a70661
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
[build]
base = "website"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "no-referrer"

0 comments on commit 1a70661

Please sign in to comment.