summaryrefslogtreecommitdiff
path: root/templates/vhosts/redirect
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-12-12 18:47:06 +0100
committermh <mh@immerda.ch>2010-12-12 18:47:06 +0100
commit22fba9762d707383c65c822c2310b17b1eb104c2 (patch)
treee6fe3b90ff20e97965fa906a2f52ed10c24e9ce8 /templates/vhosts/redirect
parenta87d7b91cc95c8ac7aee327e4cf4d3ce564cdea1 (diff)
enable HTS everywhere
Diffstat (limited to 'templates/vhosts/redirect')
-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>