plain_tcp_port
This server exposes a plain TCP port that can be chained in front of other servers.
The following common keys are supported:
listen
required, type: tcp listen
Set the listening socket configuration for this server.
The instance count setting will be ignored if listen_in_worker is correctly enabled.
server
required, type: str
Set the name of the next server that will receive accepted connections.
The next server should be able to accept tcp connections.
proxy_protocol
optional, type: proxy protocol version
Set the PROXY Protocol version expected on incoming TCP connections.
If this is set, connections without a valid PROXY Protocol header are dropped.
Note
The ingress_network_filter option on this server always matches
the real socket peer address, not the address carried in the PROXY Protocol
header.
default: not set, which means PROXY Protocol is disabled
proxy_protocol_read_timeout
optional, type: humanize duration
Set the timeout for receiving a complete PROXY Protocol header.
default: 5s