April 3, 2016

Easy way to add Strict Transport Security in Apache

Here is a easy way to add HyperText Strict Transport Security Headers to Apache. Simply edit .htaccess and add the following line:

Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket
Comments powered by Disqus