Skip to content

Instantly share code, notes, and snippets.

@nbeguier
Created September 5, 2018 17:30
Show Gist options
  • Save nbeguier/e4f18af63cd1585cd9dde4882db78e28 to your computer and use it in GitHub Desktop.
Save nbeguier/e4f18af63cd1585cd9dde4882db78e28 to your computer and use it in GitHub Desktop.
Apache : enable HSTS
# Force HTTPs connexion max age to 180 days
## Strict Transport Security (HSTS): Yes
Header set Strict-Transport-Security "max-age=15552001; includeSubdomains; preload"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment