commit | 3d4d7be744831ea67586eec5c46ff7269c993575 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Thu Oct 08 15:44:39 2015 +0200 |
committer | Filip Pytloun <filip@pytloun.cz> | Thu Oct 08 15:44:39 2015 +0200 |
tree | 5307d25a82f90ffce8c125f18a17c3d1ac5f1461 | |
parent | 820c6888d718846468d5d099584770d822484e6c [diff] |
Fix missing if statement
diff --git a/apache/files/redirect.conf b/apache/files/redirect.conf index bab067a..6ba4e6f 100644 --- a/apache/files/redirect.conf +++ b/apache/files/redirect.conf
@@ -4,7 +4,7 @@ {%- include "apache/files/_name.conf" %} {%- include "apache/files/_ssl.conf" %} - {%- site.redirect_mode == 'rewrite' %} + {%- if site.redirect_mode == 'rewrite' %} RewriteEngine On RewriteRule ^/?(.*) {{ site.target_url }}/$1 [R,L] {%- else %}