I would like to ask how can I check that an installed haproxy version can deal with the proxy protocol?
In the feature list (haproxy -vv) there are “+TPROXY +LINUX_TPROXY”, which I think is transparent proxy and not proxy protocol.
I think Proxy protocol is compiled by default. You can simply create a dummy bind with the
accepct-proxy directive: HAProxy version 2.4.15 - Configuration Manual
Thank you very much!
You are right! The config check successful and my haproxy version starts with that accept-proxy option.