Running on HA-Proxy version 1.7.11 I am able to log full X-Forward-For information with the old:
capture request header X-Forwarded-For len 64
e.g. 192.168.1.10, 192.168.2.10, 192.168.3.10
However if using:
http-request capture req.hdr(X-Forwarded-For) len 64
I am only able to capture the last entry in the chain - 192.168.3.10.
Is this by design?
I’d like to use the newer option as it allows me to place the command in appropriate locations in the file for troubleshooting.
Thanks
Chris