summaryrefslogtreecommitdiffstats
path: root/roles/httpd/reverseproxy
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2014-12-08 15:50:34 +0000
committerRalph Bean <rbean@redhat.com>2014-12-08 15:50:34 +0000
commitedec8eb95eae86349d878fe7cda9a02dcce5a656 (patch)
tree5fc961d7c6914494def2d8a2351d49c62ff680aa /roles/httpd/reverseproxy
parent4dce7b2b3ab83aee1328e2976b00b8cd6d2e4e9b (diff)
This is non-essential.
Diffstat (limited to 'roles/httpd/reverseproxy')
-rw-r--r--roles/httpd/reverseproxy/templates/reversepassproxy.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.conf
index d1faff892..ab4e3e588 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 %}