intelli_proxy

Intelligent Proxy port, it will do protocol detection and then send to other servers if detected.

The following common keys are supported:

listen

required, type: tcp listen

Set the listen config for this server.

The instance count setting will be ignored if listen_in_worker is correctly enabled.

http_server

required, type: str

Set name of the next http_proxy server to send the accepted connections to.

socks_server

required, type: str

Set name of the next socks_proxy server to send the accepted connections to.

protocol_detection_timeout

optional, type: humanize duration

Set the timeout duration that we wait to check the protocol of each connection.

If timeout, the connection will be closed silently.

default: 4s

proxy_protocol

optional, type: proxy protocol version

Set the version of PROXY protocol we use for incoming tcp connections.

If set, connections with no matched PROXY Protocol message will be dropped.

Note

The ingress_network_filter config option of this server will always applies to the real socket client address.

default: not set, which means PROXY protocol won’t be used

Added in version 1.7.28.

proxy_protocol_read_timeout

optional, type: humanize duration

Set the timeout value before we read a complete PROXY Protocol message.

default: 5s

Added in version 1.7.28.