]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Template fix
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Dec 2011 22:59:26 +0000 (20:59 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Dec 2011 22:59:26 +0000 (20:59 -0200)
templates/site.erb

index 246e6168a1080fb09e778d3d392071e6c473df97..3545e621115557cc406b0f987025e6706907ef11 100644 (file)
@@ -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| -%>