Skip to content

Instantly share code, notes, and snippets.

@inetbiz
Last active February 18, 2016 19:04
Show Gist options
  • Select an option

  • Save inetbiz/9712363 to your computer and use it in GitHub Desktop.

Select an option

Save inetbiz/9712363 to your computer and use it in GitHub Desktop.
HSTS (HTTP Secure Transport Security) for Apache credit to https://www.owasp.org
# Use HTTP Strict Transport Security to force client to use secure connections only
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment