Welcome! Log In Create A New Profile

Advanced

add_header problem

Posted by shaifful 
add_header problem
June 25, 2013 10:09PM
I'm using Nginx 1.5.1 which is compiled via centminmod, my problem is, whenever I tried to add_header like
add_header Strict-Transport-Security "max-age=360000; includeSubdomains"; this header does not appear to work at all.

I have tried it on 1.4.1 as well, and the results is same, the header does not appear to be functional.

This is my configuration files..
http://pastebin.com/4CCMf4Vz

I also have move the header to the location / { but the results is still not appeared.

There is no error what so ever.

Any help would be appreciated.
Thanks.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 206
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready