Use caddy instead of socat for http proxying
This commit is contained in:
@@ -7,7 +7,7 @@ _service_container_networks: >-
|
||||
}]
|
||||
+ (
|
||||
[{
|
||||
'name': service_name ~ '-socat',
|
||||
'name': service_name ~ '-caddy-socket-proxy',
|
||||
'ip': service_container_ip | ansible.utils.ipmath(256) if _service_static_ip else ''
|
||||
}] if service_container_http_port > 0 else []
|
||||
)
|
||||
@@ -33,7 +33,7 @@ _service_container_requires: >-
|
||||
_service_container_wants: >-
|
||||
{{
|
||||
service_wants
|
||||
+ ([service_name + '-socat.socket'] if service_container_http_port > 0 else [])
|
||||
+ ([service_name + '-caddy-socket-proxy.socket'] if service_container_http_port > 0 else [])
|
||||
+ ([service_name + '-oauth2-proxy.socket'] if _service_oauth2_proxy else [])
|
||||
+ _service_container_publish_socket_ports
|
||||
| map(attribute='name')
|
||||
|
||||
Reference in New Issue
Block a user