aboutsummaryrefslogtreecommitdiff
path: root/templates/etc/nginx/domain.erb
diff options
context:
space:
mode:
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;