diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-05-18 19:11:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-05-18 19:11:12 -0300 |
commit | 497082ae8f6811ba98a92a16e26073d8f13557f5 (patch) | |
tree | fa076110e3ed09a2511070e57c199f5426faef11 | |
parent | 0030f7e66db85a9859a4b17609b6b12e631aafdc (diff) | |
download | puppet-apache-497082ae8f6811ba98a92a16e26073d8f13557f5.tar.gz puppet-apache-497082ae8f6811ba98a92a16e26073d8f13557f5.tar.bz2 |
Using protocol instead of hardcoded https
-rw-r--r-- | templates/site.erb | 2 |
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 %> |