Created
November 28, 2018 08:12
-
-
Save danielstrelec/429b64549776383d5ad3cc48ee5a30a5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <IfModule mod_headers.c> | |
| # X-XSS-Protection | |
| Header set X-XSS-Protection "1; mode=block" | |
| # X-Content-Type-Options | |
| Header set X-Content-Type-Options nosniff | |
| # X-Download-Options | |
| Header set X-Download-Options: noopen | |
| # X-Frame-Options settings | |
| Header set X-Frame-Options DENY | |
| # Referrer-Policy settings | |
| Header set Referrer-Policy "strict-origin-when-cross-origin" | |
| # HSTS 190 days | |
| Header set Strict-Transport-Security "max-age=16416000; includeSubdomains" | |
| </IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment