roles/nginx: Use HSTS for https vhosts

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2014-10-06 10:46:04 +03:00
parent 06543b10d5
commit ad90f7f0fb
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -13,5 +13,5 @@
ssl_prefer_server_ciphers on; ssl_prefer_server_ciphers on;
# Enable this if you want HSTS (recommended, but be careful) # 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;