From c8a14cad53f307fceb5be31031d959d887007337 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 3 May 2016 12:43:32 -0300 Subject: Preload HSTS --- templates/etc/nginx/domain.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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; -- cgit v1.2.3