Commit d00ed1da authored by Thom's avatar Thom 🛠
Browse files

Only add SSLProxyEngine when SSL is enabled for the web (fixes #6269)

parent 19b24c63
Pipeline #10037 passed with stage
in 7 minutes and 10 seconds
......@@ -517,8 +517,10 @@
RewriteCond %{REQUEST_URI} !^/php-fcgi/
RewriteCond %{REQUEST_URI} !^<tmpl_var name='rewrite_target'>
<tmpl_if name='ssl_enabled'>
<tmpl_if name="rewrite_target_is_ssl" op="==" value="y">
SSLProxyEngine On
RewriteRule ^/(.*)$ <tmpl_var name='rewrite_target'><tmpl_if name="rewrite_add_path" op="==" value="y">$1</tmpl_if> <tmpl_var name='rewrite_type'>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment