Some apps need to set this header.

This commit is contained in:
Ralph Bean 2014-12-08 17:37:48 +00:00
parent bfd7cb3b5f
commit 5ac9136973
3 changed files with 8 additions and 3 deletions

View file

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

View file

@ -1,4 +1,5 @@
remotepath: /
localpath: /
rewrite: false
destname: reversepassproxy
rewrite: false
header_scheme: false