Some apps need to set this header.
This commit is contained in:
parent
bfd7cb3b5f
commit
5ac9136973
3 changed files with 8 additions and 3 deletions
|
@ -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}}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
remotepath: /
|
||||
localpath: /
|
||||
rewrite: false
|
||||
destname: reversepassproxy
|
||||
rewrite: false
|
||||
header_scheme: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue