diff options
| author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2015-02-11 09:47:49 +0000 |
|---|---|---|
| committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2015-02-11 09:47:49 +0000 |
| commit | 2b1d97f0042b984dbb45b3aa55dedfb12bdfd972 (patch) | |
| tree | adf850fb97d5d27c52dd6e1151d6fac9b4fa9605 /roles/httpd/reverseproxy | |
| parent | f85b6c00dd72ce5f23650206c90f210df5b62313 (diff) | |
| download | ansible-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.conf | 1 |
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}} |
