aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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 5e45ec8..3cddd5b 100644
--- a/templates/etc/nginx/domain.erb
+++ b/templates/etc/nginx/domain.erb
@@ -16,7 +16,7 @@ server {
server_name *.<%= domain %> <%= domain %>
# enable HSTS header
- add_header Strict-Transport-Security max-age=15768000;
+ add_header Strict-Transport-Security "max-age=15768000; includeSubdomains";
# https redirection by default
rewrite ^(.*) https://$host$1 redirect;