Skip to content

Commit

Permalink
Add headers security configuration also for netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
ripcurlx committed Mar 8, 2019
1 parent ecd4ed4 commit e57fb09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ feed:
path: blog/feed.atom
include:
- _redirects
- _headers
exclude:
- CNAME
- README
Expand Down
5 changes: 5 additions & 0 deletions _headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
Strict-Transport-Security: "max-age=31536000"
X-XSS-Protection: "1; mode=block"
X-Content-Type-Options: "nosniff"
X-Frame-Options: "SAMEORIGIN"

0 comments on commit e57fb09

Please sign in to comment.