From ab4c8f3521c4a1c6150b2a1b6354e421bf5a32af Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 31 May 2018 21:35:01 +0200 Subject: [PATCH] Fix trailing slash on balancer Signed-off-by: Patrick Uiterwijk --- roles/httpd/reverseproxy/templates/reversepassproxy.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.conf index 1d0922bbed..4eca299523 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.conf @@ -24,8 +24,9 @@ SSLProxyEngine On BalancerMember "{{ member }}/{{remotepath}}" {% endfor %} -ProxyPass {{ localpath }} "balancer://{{balancer_name}}" +ProxyPass {{ localpath }} "balancer://{{balancer_name}}/" +ProxyPassReverse {{ localpath }} "balancer://{{balancer_name}}/" {% else %} ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}} -{% endif %} ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}} +{% endif %}