Revert "roles/nginx: Correct HSTS header in https template"

This reverts commit 5c7404d228.

'always' is legal in nginx >= 1.7.5:

If the always parameter is specified (1.7.5), the header field will be added regardless of the response code.

See: http://nginx.org/en/docs/http/ngx_http_headers_module.html
This commit is contained in:
Alan Orth 2015-03-18 18:33:19 +03:00
parent 5c7404d228
commit 04e453df51

View File

@ -35,5 +35,5 @@
spdy_headers_comp 6;
# Enable this if you want HSTS (recommended, but be careful)
add_header Strict-Transport-Security max-age=15768000;
add_header Strict-Transport-Security max-age=15768000 always;