summaryrefslogtreecommitdiffstats
path: root/roles/httpd/reverseproxy
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2015-02-11 09:47:49 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-02-11 09:47:49 +0000
commit2b1d97f0042b984dbb45b3aa55dedfb12bdfd972 (patch)
treeadf850fb97d5d27c52dd6e1151d6fac9b4fa9605 /roles/httpd/reverseproxy
parentf85b6c00dd72ce5f23650206c90f210df5b62313 (diff)
downloadansible-2b1d97f0042b984dbb45b3aa55dedfb12bdfd972.tar.gz
ansible-2b1d97f0042b984dbb45b3aa55dedfb12bdfd972.tar.xz
ansible-2b1d97f0042b984dbb45b3aa55dedfb12bdfd972.zip
Set the X-Scheme header as we agreed on
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'roles/httpd/reverseproxy')
-rw-r--r--roles/httpd/reverseproxy/templates/reversepassproxy.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.conf
index 47120bbe4..5a9eb944a 100644
--- a/roles/httpd/reverseproxy/templates/reversepassproxy.conf
+++ b/roles/httpd/reverseproxy/templates/reversepassproxy.conf
@@ -5,6 +5,7 @@ RewriteRule ^{{remotepath}}$ %{REQUEST_URI}/ [R=301]
{% endif %}
{% if header_scheme %}
RequestHeader set X-Forwarded-Scheme https early
+RequestHeader set X-Scheme https early
{% endif %}
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}