diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-12-05 20:59:26 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-12-05 20:59:26 -0200 |
commit | a024e8718b15e4cb4bb48b7caeb83b261c919a3b (patch) | |
tree | 11a1549d67eb9eb053e58016d823c102c3e14aaf | |
parent | f690c065246f1a31e732c0a24100401e58a1adb2 (diff) | |
download | puppet-apache-a024e8718b15e4cb4bb48b7caeb83b261c919a3b.tar.gz puppet-apache-a024e8718b15e4cb4bb48b7caeb83b261c919a3b.tar.bz2 |
Template fix
-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 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| -%> |