]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Coding style
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 18 May 2012 17:10:32 +0000 (14:10 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 18 May 2012 17:10:32 +0000 (14:10 -0300)
templates/site.erb

index 4daf2bee2a9b786bcdb1065433d4be2acdcd7bcb..46c16d3ed448dc8c57c2f18f394ca3418370a105 100644 (file)
@@ -4,14 +4,14 @@
 <% if server_alias != false %>   ServerAlias <%= server_alias %><% end %>
    DocumentRoot <%= docroot %>
 <% if https_redirect != false or canonical != false %>
-    RewriteEngine On
+   RewriteEngine On
 <% end -%>
 <% if https_redirect != false %>
-    # Use HTTP Strict Transport Security to force client to use secure connections only
-    Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains"
+   # Use HTTP Strict Transport Security to force client to use secure connections only
+   Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains"
 
-    # Redirect all HTTP to HTTPS
-    RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [redirect=301]<% end %>
+   # Redirect all HTTP to HTTPS
+   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| -%>