Created
November 5, 2017 01:28
-
-
Save robcalcroft/76b1884a6911c81b0c3dd7dec6360cca to your computer and use it in GitHub Desktop.
A Nginx configuration file including security settings for server blocks
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
add_header X-Xss-Protection "1; mode=block" always; | |
add_header X-Content-Type-Options "nosniff" always; | |
add_header Referrer-Policy no-referrer-when-downgrade; | |
add_header Strict-Transport-Security max-age=15768000; | |
add_header X-Frame-Options SAMEORIGIN; | |
proxy_hide_header X-Powered-By; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment