summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-05 20:59:26 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-12-05 20:59:26 -0200
commita024e8718b15e4cb4bb48b7caeb83b261c919a3b (patch)
tree11a1549d67eb9eb053e58016d823c102c3e14aaf
parentf690c065246f1a31e732c0a24100401e58a1adb2 (diff)
downloadpuppet-apache-a024e8718b15e4cb4bb48b7caeb83b261c919a3b.tar.gz
puppet-apache-a024e8718b15e4cb4bb48b7caeb83b261c919a3b.tar.bz2
Template fix
-rw-r--r--templates/site.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/site.erb b/templates/site.erb
index 246e616..3545e62 100644
--- a/templates/site.erb
+++ b/templates/site.erb
@@ -9,7 +9,7 @@
# Redirect all HTTP to HTTPS
RewriteEngine On
- RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [redirect=301]
+ RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [redirect=301]<% end %>
<% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= hosting_domain %>/<%= redirect_match %><% end %>
<% if redirect != false %> Redirect <%= redirect %><% end %>
<% if aliases != false %><% aliases.each do |map| -%>