forwardfor option

From: <rkmr.em#gmail.com>
Date: Mon, 25 Feb 2008 12:23:18 -0800


hi
i have forward for enabled like this:

option forwardfor except 127.0.0.1/8

but in my webserver logs the IP address is the ip address of where haproxy is running and not the original client ip address. this is true with what I see in my fastcgi backends too. how to fix this?
thanks

    listen WWW :80

      stats uri /stats
      stats auth X:Y
      stats realm Global\ statistics

      mode http
      option abortonclose
      option forwardfor except 127.0.0.1/8
      option httpclose
      clitimeout 60000
      srvtimeout 60000
      contimeout 4000
      retries 3
      redispatch
      balance roundrobin
Received on 2008/02/25 21:23

This archive was generated by hypermail 2.2.0 : 2008/02/25 21:30 CET