diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.conf index d1faff8925..ab4e3e588f 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.conf @@ -1,5 +1,5 @@ -RewriteEngine On {% if rewrite %} +RewriteEngine On RewriteRule ^{{remotepath}}$ %{REQUEST_URI}/ [R=301] {% endif %}