Re: multi-level forwardfor

From: Patrick Viet <patrick.viet#gmail.com>
Date: Fri, 28 Nov 2008 19:04:34 +0100


Hi,

Yes : pass on the header and use except : forwardfor except <ip of nginx or haproxy in front> each time.

also add forwardfor in nginx (proxy_set_header X-Forwarded-For $remote_addr;) when necessary

Patrick

On Fri, Nov 28, 2008 at 5:18 PM, Dusty Doris <haproxy#dusty.name> wrote:

> I have haproxy load balancing between some nginx servers to server up
> static content. Those nginx servers also send requests to haproxy for
> dispatching to application servers.
>
> Is it possible to have multiple levels of forwardfor in haproxy, so I
> can get that IP address all the way to the application servers?
>
> internet -> haproxy -> nginx -> haproxy -> app
>
> Thanks
> Dusty Doris
>
>
Received on 2008/11/28 19:04

This archive was generated by hypermail 2.2.0 : 2008/11/28 19:15 CET