Bug#416397: ITP: haproxy -- fast and reliable load balancing reverse proxy
On Wed, Mar 28, 2007 at 10:11:51AM +1100, Russell Coker wrote:
> How do you preserve the mapping between the origin IP address and the
> connection that the web server receives?
>
> For HTTP the easiest solution would be to insert a header with the origin IP
> that could then be logged, does the HTTP header addition/modification
> functionality of HAProxy support this?
"X-Forwarded-For" is the de-facto standard HTTP header to achieve this.
HAProxy does support this header with "forwardfor" option.
Cheers,
--
Arnaud Cornet
Reply to: