Is there a way to make use of the extensibility of the PROXY protocol and to add a TLV-field to the PROXY variables sent to the backend servers? I would like to i.e. generate a random value per request, add that to the access log and also forward this very value to the backend service (speaking / understanding PROXYv2 of cause). This way it’s possible to correlate between the incoming request handled and distributed by HAProxy and the corresponding request which is logged on the backend server.
- Are there config options anywhere?
- I did not find any LUA API bindings to access the PROXY protocol values.
Thanks in advance,
Regards
Christian