Skip to content

Instantly share code, notes, and snippets.

@nikola0203
Created February 28, 2023 13:54
Show Gist options
  • Save nikola0203/df8773ad0e91aa42c4bc06265750d0c7 to your computer and use it in GitHub Desktop.
Save nikola0203/df8773ad0e91aa42c4bc06265750d0c7 to your computer and use it in GitHub Desktop.
Enable Strict Transport Security in Apache .htaccess
<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