aboutsummaryrefslogtreecommitdiff
path: root/templates/etc/nginx/domain.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-05-03 12:43:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-05-03 12:43:32 -0300
commitc8a14cad53f307fceb5be31031d959d887007337 (patch)
tree27bf8ecfa299edb36ad00e189140daf69618d8b4 /templates/etc/nginx/domain.erb
parente096f08d5c3ff368cde923beaedf77d6bbac5ac1 (diff)
downloadpuppet-bootstrap-c8a14cad53f307fceb5be31031d959d887007337.tar.gz
puppet-bootstrap-c8a14cad53f307fceb5be31031d959d887007337.tar.bz2
Preload HSTS
Diffstat (limited to 'templates/etc/nginx/domain.erb')
-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 80a3ad5..06cb0ee 100644
--- a/templates/etc/nginx/domain.erb
+++ b/templates/etc/nginx/domain.erb
@@ -26,7 +26,7 @@ server {
server_name *.<%= domain %> <%= domain %>
# enable HSTS header
- add_header Strict-Transport-Security "max-age=15768000; includeSubdomains";
+ add_header Strict-Transport-Security "max-age=15768000; includeSubdomains; preload";
# https redirection by default
rewrite ^(.*) https://$host$1 redirect;