]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Preload HSTS
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 3 May 2016 15:43:32 +0000 (12:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 3 May 2016 15:43:32 +0000 (12:43 -0300)
templates/etc/nginx/domain.erb

index 80a3ad59928ab8e0f35bd7bf5b73c9806046c2a3..06cb0eef978ece9090e0a3e91b86fdcf22bf3135 100644 (file)
@@ -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;