2018-07-31 17:56 GMT+02:00 James Brown <jbr...@easypost.com>: > I think if you use the `http-request set-src` directive it'll populate the > PROXY headers in addition to the internal logging &c. > > On Fri, Jul 27, 2018 at 7:05 AM bjun...@gmail.com <bjun...@gmail.com> wrote: >> >> Hi, >> >> is there any possibilty to modify the client ip in the PROXY Protocol >> header before it is send to a backend server? >> >> My use case is a local integration/functional testing suite (multiple >> local docker containers for testing the whole stack - haproxy, cache layer, >> webserver, etc.). >> >> I would like to test functionalities which are dependent of/need specific >> IP ranges or IP addresses. >> >> ---------------------------------------------------------------- >> Best Regards / Mit freundlichen Grüßen >> >> Bjoern > > > > -- > James Brown > Engineer
Hi James, thanks, that worked like a charm. Didn't know that "set-src" works in combination with PROXY protocol. ---------------------------------------------------------------- Best Regards / Mit freundlichen Grüßen Bjoern