Re: Public ip not showing using HAproxy

From: Nelson Serafica <ntserafica#gmail.com>
Date: Mon, 8 Jun 2009 11:34:20 +0800


Hi Joseph,

Thanks for the immediate reply. Will inform you the outcome of the haproxy. Need to forward the action to our development team.

Best regards,

Nelson

On Mon, Jun 8, 2009 at 11:21 AM, Joseph Hardeman <jhardeman#colocube.com>wrote:

> Hi Nelson,
>
> You need to enable the forwardfor option, put "option forwardfor" in the
> listen section.
>
> The 'forwardfor' option creates an HTTP 'X-Forwarded-For' header which
> contains the client's IP address. So you will need to configure your web
> server to capture the X-Forwarded-For header and then you will need to
> modify your Java app to then see that.
>
>
Received on 2009/06/08 05:34

This archive was generated by hypermail 2.2.0 : 2009/06/08 05:45 CEST