Last active
December 17, 2019 05:11
-
-
Save goesredy/d33581ac7012b5a27c2dc77604cff1de to your computer and use it in GitHub Desktop.
Disable HTTP Strict Transport Security (HSTS) 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=0; includeSubDomains; preload" env=HTTPS | |
Header always set Strict-Transport-Security "max-age=0; includeSubDomains; preload" env=HTTPS | |
#Exlude subdomain | |
#Header always set Strict-Transport-Security "max-age=31536000; preload" env=HTTPS | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment