vhost: Allow setting proxy headers

This commit is contained in:
uumas
2025-04-05 04:38:14 +03:00
parent d9f8733c39
commit 3cd66c54a7
4 changed files with 16 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ _vhost_location_defaults:
vhost_type == 'reverse_proxy' and vhost_proxy_target_netproto == 'tcp' else '' }}"
proxy_target_socket: "{{ vhost_proxy_target_socket if
vhost_type == 'reverse_proxy' and vhost_proxy_target_netproto == 'unix' else '' }}"
proxy_headers: "{{ vhost_proxy_headers }}"
proxy_delete_headers: "{{ vhost_proxy_delete_headers }}"
proxy_pass_host_header: "{{ vhost_proxy_pass_host_header }}"