Created
March 28, 2019 14:28
-
-
Save brianmaierjr/82ac951e4f7b9a3b167f37833488cc09 to your computer and use it in GitHub Desktop.
Security Headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Strict-Transport-Security | |
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"; | |
# X-Content-Type-Options | |
add_header X-Content-Type-Options "nosniff"; | |
# X-XSS Protection | |
add_header X-XSS-Protection "1; mode=block"; | |
# X-Frame-Options | |
add_header X-Frame-Options SAMEORIGIN; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment