plain_tcp_port
This server provides plain tcp port, which can be placed in front of other servers.
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.
server
required, type: str
Set name of the next server to send the accepted connections to.
The next server should be able to accept tcp connections.
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
proxy_protocol_read_timeout
optional, type: humanize duration
Set the timeout value before we read a complete PROXY Protocol message.
default: 5s