From: Silvio Rhatto Date: Mon, 5 Dec 2011 22:59:26 +0000 (-0200) Subject: Template fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a024e8718b15e4cb4bb48b7caeb83b261c919a3b;p=puppet-apache.git Template fix --- 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| -%>