Skip to content

Instantly share code, notes, and snippets.

@Kaiderella
Created February 13, 2017 01:54
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 Kaiderella/ab7de021edf0d84b521051d69d9bfcf5 to your computer and use it in GitHub Desktop.
Save Kaiderella/ab7de021edf0d84b521051d69d9bfcf5 to your computer and use it in GitHub Desktop.
HSTS cho Apache
# Optionally load the headers module:
LoadModule headers_module modules/mod_headers.so
<VirtualHost x.x.x.x:443>
Header always set Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment