summaryrefslogtreecommitdiff
path: root/templates/vhosts/redirect/redirect.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/redirect/redirect.erb')
-rw-r--r--templates/vhosts/redirect/redirect.erb2
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/vhosts/redirect/redirect.erb b/templates/vhosts/redirect/redirect.erb
index e1928b5..2374797 100644
--- a/templates/vhosts/redirect/redirect.erb
+++ b/templates/vhosts/redirect/redirect.erb
@@ -61,10 +61,8 @@
CustomLog <%= logdir %>/access_log combined
<%- end -%>
- <%- if ssl_mode.to_s == 'force' then -%>
Header add Strict-Transport-Security "max-age=15768000"
- <%- end -%>
Redirect permanent / https://<%= options %>
</VirtualHost>