Add the de-facto x-forwarded-proto

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-01-15 09:34:32 +00:00
parent aba9826291
commit 62a0372a38

View file

@ -6,6 +6,7 @@ RewriteRule ^{{remotepath}}$ %{REQUEST_URI}/ [R=301]
{% if header_scheme %}
RequestHeader set X-Forwarded-Scheme https early
RequestHeader set X-Scheme https early
RequestHeader set X-Forwarded-Proto https early
{% endif %}
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}