roles/nginx: Use HSTS for https vhosts
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
06543b10d5
commit
ad90f7f0fb
@ -13,5 +13,5 @@
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
# 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user