Skip to content

Instantly share code, notes, and snippets.

@sebastian-marinescu
Forked from benhuson/.htaccess
Created December 3, 2018 15:31
Show Gist options
  • Save sebastian-marinescu/80f80f4c5fa0b9e28a5f40eb4febfb47 to your computer and use it in GitHub Desktop.
Save sebastian-marinescu/80f80f4c5fa0b9e28a5f40eb4febfb47 to your computer and use it in GitHub Desktop.
Disable HTTP Strict Transport Security (HSTS) in .htaccess
<IfModule mod_headers.c>
Header set Strict-Transport-Security "max-age=0; includeSubDomains; preload" env=HTTPS
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment