aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-05 18:36:14 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-12-05 18:36:14 -0200
commitfd5241b13a279812c6f993cdd115c94359d29b3e (patch)
treeb93a4f0f367c842448d9d5e5cb4f1310a8f4772a
parent25e0d0abd4f3d3ef9a2ba42e2b2802b26ce307fa (diff)
downloadpuppet-bootstrap-fd5241b13a279812c6f993cdd115c94359d29b3e.tar.gz
puppet-bootstrap-fd5241b13a279812c6f993cdd115c94359d29b3e.tar.bz2
Including subdomains at HSTS header
-rw-r--r--templates/etc/nginx/domain.erb2
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;