Skip to content

Instantly share code, notes, and snippets.

@netmagik
Last active May 22, 2017 21:43
Show Gist options
  • Save netmagik/4d1b78487452a3c4e9fa to your computer and use it in GitHub Desktop.
Save netmagik/4d1b78487452a3c4e9fa to your computer and use it in GitHub Desktop.
Enable HSTS - HTTP Strict Transport Security in .htaccess
<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