From d2502b2754267cc8cf79a47915c36e33ff792885 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 8 Dec 2014 15:47:36 +0000 Subject: [PATCH] Prune reversepassproxy configs. --- roles/httpd/reverseproxy/templates/reversepassproxy.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 %}