diff --git a/roles/setup_http_site_proxy/templates/apache-docker-proxy-site.j2 b/roles/setup_http_site_proxy/templates/apache-docker-proxy-site.j2 index a57db73..a3adea8 100644 --- a/roles/setup_http_site_proxy/templates/apache-docker-proxy-site.j2 +++ b/roles/setup_http_site_proxy/templates/apache-docker-proxy-site.j2 @@ -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") }} # see documentation of wstunnel: This allwos generic websocket passthrough