Last active
May 22, 2017 21:43
-
-
Save netmagik/4d1b78487452a3c4e9fa to your computer and use it in GitHub Desktop.
Enable HSTS - HTTP Strict Transport Security in .htaccess
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
<IfModule mod_headers.c> | |
Header set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment