Add support for not passing host header to proxy upstream

This commit is contained in:
uumas
2025-04-05 03:58:48 +03:00
parent 6234c0c459
commit d9f8733c39
4 changed files with 15 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ _vhost_location_defaults:
proxy_target_socket: "{{ vhost_proxy_target_socket if
vhost_type == 'reverse_proxy' and vhost_proxy_target_netproto == 'unix' else '' }}"
proxy_delete_headers: "{{ vhost_proxy_delete_headers }}"
proxy_pass_host_header: "{{ vhost_proxy_pass_host_header }}"
redirect_target: "{{ vhost_redirect_target if vhost_type == 'redirect' else '' }}"
redirect_preserve_path: "{{ vhost_redirect_preserve_path }}"