service: Support proxy forward auth using OAuth2 Proxy

This commit is contained in:
uumas
2025-07-13 19:09:08 +03:00
parent 543a34f60d
commit 6baab11851
5 changed files with 33 additions and 5 deletions

View File

@@ -15,7 +15,3 @@ _service_container_wants: >-
| map(attribute='name')
| map('regex_replace', '$', '.service')
}}
_service_replacement_host_header:
Host: "{{ service_name }}:{{ service_container_http_port }}"
_service_proxy_headers: "{{ _service_replacement_host_header if not service_proxy_pass_host_header else {} }}"