diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.fp-wiki.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.fp-wiki.conf index c2efe3c165..7aa53575cf 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.fp-wiki.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.fp-wiki.conf @@ -1,4 +1,3 @@ -{% if force_ssl_login %} RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{QUERY_STRING} Special:Userlogin [NC] @@ -7,7 +6,6 @@ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NE,L] RewriteCond %{HTTPS} off RewriteCond %{QUERY_STRING} action= [NC] RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NE,L] -{% endif %} # /wiki must come before /w due to prefix matching. ProxyPass {{wikipath}} {{proxyurl}}{{wikipath}}