proxy Binding
Bindingproxyserverclient
proxy Binding
Defines a binding with proxy protocol support, with server or client behavior. Conditional routes based on the network transport type or network addresses are used to route these streams to an exit binding.
server
The server kind proxy binding decodes Proxy v2 protocol on the inbound network stream, producing higher level application streams for each request.
proxy_server:
type: proxy
kind: server
routes:
- when:
- transport: stream
family: inet4
destination:
port: 443
exit: tls_serverclient
The client kind proxy binding receives inbound application streams and encodes each as a network stream via Proxy v2 protocol.
proxy_server:
type: proxy
kind: client
exit: tcp_server
