Skip to content

Instantly share code, notes, and snippets.

@isaumya
Created August 17, 2016 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaumya/f68de513f48bfd97d1c040af248cf435 to your computer and use it in GitHub Desktop.
Save isaumya/f68de513f48bfd97d1c040af248cf435 to your computer and use it in GitHub Desktop.
HSTS Add via htaccess file with includeSubdomain and preload directive - Apache
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=31536000;includeSubDomains;preload"
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment