service: Add support for native sockets for http
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
---
|
||||
_service_native_socket: "{{ service_domains | length > 0 and service_container_http_port == 0 }}"
|
||||
|
||||
_service_socket_path: >-
|
||||
/run/{{ service_name ~ ('-socat' if not _service_native_socket else '' ) }}.sock
|
||||
|
||||
_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 {} }}"
|
||||
|
||||
Reference in New Issue
Block a user