Proxy protocol (proto)
config.core.v3.ProxyProtocolPassThroughTLVs
[config.core.v3.ProxyProtocolPassThroughTLVs proto]
{
"match_type": ...,
"tlv_type": []
}
- match_type
(config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType) The strategy to pass through TLVs. Default is INCLUDE_ALL. If INCLUDE_ALL is set, all TLVs will be passed through no matter the tlv_type field.
Enum config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType
[config.core.v3.ProxyProtocolPassThroughTLVs.PassTLVsMatchType proto]
- INCLUDE_ALL
(DEFAULT) Pass all TLVs.
- INCLUDE
Pass specific TLVs defined in tlv_type.
config.core.v3.ProxyProtocolConfig
[config.core.v3.ProxyProtocolConfig proto]
{
"version": ...,
"pass_through_tlvs": {...}
}
- version
(config.core.v3.ProxyProtocolConfig.Version) The PROXY protocol version to use. See https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt for details
- pass_through_tlvs
(config.core.v3.ProxyProtocolPassThroughTLVs) This config controls which TLVs can be passed to upstream if it is Proxy Protocol V2 header. If there is no setting for this field, no TLVs will be passed through.
Enum config.core.v3.ProxyProtocolConfig.Version
[config.core.v3.ProxyProtocolConfig.Version proto]
- V1
(DEFAULT) PROXY protocol version 1. Human readable format.
- V2
PROXY protocol version 2. Binary format.