Re: Problem with http-request set-src and send-proxy on 1.6

2016-11-18 Thread Janusz Dziemidowicz
2016-11-18 14:27 GMT+01:00 Janusz Dziemidowicz : > listen default > bind : > http-request set-src req.hdr_ip(X-Forwarded-For) > server localhost 127.0.0.1:80 send-proxy Sorry, there are obviously two binds there: bind : bind ::: -- Janusz Dziemidowicz

Problem with http-request set-src and send-proxy on 1.6

2016-11-18 Thread Janusz Dziemidowicz
Hello, I think I've found a problem how http-request set-src interacts with PROXY protocol on backend servers. Very simple setup: listen default bind : http-request set-src req.hdr_ip(X-Forwarded-For) server localhost 127.0.0.1:80 send-proxy wget -4 --header='X-Forwarded-For: 192.0.2.1'