Enable Strict Transport Security (HSTS)

Fred.

Verified User
Joined
Sep 5, 2009
Messages
220
Hi,

I have this in nginx-vhosts.conf
Code:
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";

So HSTS is working on server.domain.com but not on domain.com

So I added that same line to the server code (the first box) in the Custom HTTPD Configuration.

It should work then right?
Well, It doesn't :p :confused:

Can someone put me on the right path here?
Thanks!
 
I got it working.

It has to go in custom 3 (the 3th. box) so it ends up in the right place. :)
 
Back
Top