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