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

@@ -109,6 +109,11 @@ argument_specs:
elements: str
required: false
default: []
vhost_proxy_pass_host_header:
description: Whether to pass the host header unchanged (true) or change it to the proxy target host (false)
trpe: bool
required: false
default: true
vhost_redirect_target:
description: "Only applicable if vhost_type is redirect. Example: https://www.domain.tld/location"
@@ -230,6 +235,11 @@ argument_specs:
elements: str
required: false
default: "{{ vhost_proxy_delete_headers }}"
proxy_pass_host_header:
description: Whether to pass the host header unchanged (true) or change it to the proxy target host (false)
trpe: bool
required: false
default: "{{ vhost_proxy_pass_host_header }}"
redirect_target:
description: "Only applicable if vhost_type is redirect. Example: https://www.domain.tld/location"