✨ Add option to set ProxyPreserveHost
https://httpd.apache.org/docs/current/en/mod/mod_proxy.html#proxypreservehost
This commit is contained in:
parent
ce770f9467
commit
ad9dfbffd8
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
|||
ProxyPass / http://{{ backend_host | default("localhost") }}:{{proxy_port}}/ nocanon
|
||||
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
||||
RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}
|
||||
ProxyPreserveHost {{ proxy_preserve_host | default("Off") }}
|
||||
|
||||
<ifmodule mod_rewrite.c>
|
||||
# see documentation of wstunnel: This allwos generic websocket passthrough
|
||||
|
|
Loading…
Reference in a new issue