summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/site.erb2
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| -%>