From 497082ae8f6811ba98a92a16e26073d8f13557f5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 18 May 2012 19:11:12 -0300 Subject: Using protocol instead of hardcoded https --- templates/site.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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 %> # end vhost for <%= title %> -- cgit v1.2.3