summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-05-18 19:11:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-05-18 19:11:12 -0300
commit497082ae8f6811ba98a92a16e26073d8f13557f5 (patch)
treefa076110e3ed09a2511070e57c199f5426faef11 /templates
parent0030f7e66db85a9859a4b17609b6b12e631aafdc (diff)
downloadpuppet-apache-497082ae8f6811ba98a92a16e26073d8f13557f5.tar.gz
puppet-apache-497082ae8f6811ba98a92a16e26073d8f13557f5.tar.bz2
Using protocol instead of hardcoded https
Diffstat (limited to 'templates')
-rw-r--r--templates/site.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/site.erb b/templates/site.erb
index 46c16d3..586b158 100644
--- a/templates/site.erb
+++ b/templates/site.erb
@@ -28,7 +28,7 @@
<% if canonical != false %>
RewriteCond %{HTTP_HOST} !=<%= canonical %> [NC]
RewriteCond %{HTTP_HOST} !=""
- RewriteRule ^/(.*) https://<%= canonical %>/$1 [L,R=301]
+ RewriteRule ^/(.*) <%= protocol %>://<%= canonical %>/$1 [L,R=301]
<% end %>
</VirtualHost>
# end vhost for <%= title %>