I have nginx before haproxy on my Load Balancer. Request is traveling in to haproxy with “proxy_pass” directive. I set a header “X-Forwarded-For” and now, I need to log haproxy requests to logstash. But in log I get local IP adress of HAproxy. Is possible to set something like RPAF in haproxy?
Thank you !