vhost: Support settting requst method for proxied requests

This commit is contained in:
uumas
2025-11-22 06:43:25 +02:00
parent c151a2ee0c
commit 601d5fcdc3
4 changed files with 40 additions and 0 deletions

View File

@@ -25,6 +25,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_method: "{{ vhost_proxy_method }}"
proxy_headers: "{{ vhost_proxy_headers }}"
proxy_delete_headers: "{{ vhost_proxy_delete_headers }}"
proxy_pass_host_header: "{{ vhost_proxy_pass_host_header }}"