diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-05-03 12:43:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-05-03 12:43:32 -0300 |
commit | c8a14cad53f307fceb5be31031d959d887007337 (patch) | |
tree | 27bf8ecfa299edb36ad00e189140daf69618d8b4 /templates | |
parent | e096f08d5c3ff368cde923beaedf77d6bbac5ac1 (diff) | |
download | puppet-bootstrap-c8a14cad53f307fceb5be31031d959d887007337.tar.gz puppet-bootstrap-c8a14cad53f307fceb5be31031d959d887007337.tar.bz2 |
Preload HSTS
Diffstat (limited to 'templates')
-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 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; |