diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-12-05 18:36:14 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-12-05 18:36:14 -0200 |
commit | fd5241b13a279812c6f993cdd115c94359d29b3e (patch) | |
tree | b93a4f0f367c842448d9d5e5cb4f1310a8f4772a /templates/etc/nginx | |
parent | 25e0d0abd4f3d3ef9a2ba42e2b2802b26ce307fa (diff) | |
download | puppet-bootstrap-fd5241b13a279812c6f993cdd115c94359d29b3e.tar.gz puppet-bootstrap-fd5241b13a279812c6f993cdd115c94359d29b3e.tar.bz2 |
Including subdomains at HSTS header
Diffstat (limited to 'templates/etc/nginx')
-rw-r--r-- | templates/etc/nginx/domain.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/etc/nginx/domain.erb b/templates/etc/nginx/domain.erb index 5e45ec8..3cddd5b 100644 --- a/templates/etc/nginx/domain.erb +++ b/templates/etc/nginx/domain.erb @@ -16,7 +16,7 @@ server { server_name *.<%= domain %> <%= domain %> # enable HSTS header - add_header Strict-Transport-Security max-age=15768000; + add_header Strict-Transport-Security "max-age=15768000; includeSubdomains"; # https redirection by default rewrite ^(.*) https://$host$1 redirect; |