Date: Sun, 8 Aug 2004 15:48:43 -0600 From: "Reid Johnson" <rjohnson@corenetwork.ca> To: <clement@FreeBSD.org> Cc: ports@FreeBSD.org Subject: Can you spare a monment to help me with haproxy? Message-ID: <200408082147.i78LlwV8019960@mclaren.corenetwork.ca>
next in thread | raw e-mail | index | archive | help
Hello, First of all I must say thank you in advance for any assistance you can provide, also I do understand if you are to busy to spare some time. Haproxy is a great tool and has been serving me well, but I would like to pass client IP's onto my web servers for logging. I thought I had my config correct but obviously not, after reading the docs it looked like the forwardfor option was the solution. My proxy still passes its own IP to the web servers. Any ideas? Thanks again Reid global log 127.0.0.1 local0 log 127.0.0.1 local1 notice #log loghost local0 info maxconn 4096 chroot /tmp uid 11 gid 2 daemon # debug # quiet defaults log global mode http option httplog option dontlognull retries 3 redispatch maxconn 2000 contimeout 5000 clitimeout 50000 srvtimeout 50000 listen StrongHold bind 65.255.229.16:80 source 65.255.229.16 mode http option forwardfor balance roundrobin server stronghold-nas1 65.255.229.35:80 check inter 2000 rise 2 fall 5 # server stronghold-nas2 65.255.229.36:80 check inter 2000 rise 2 fall 5 listen webpool bind 65.255.229.18:80 source 65.255.229.18 mode http option forwardfor balance roundrobin server web1 65.255.229.37:80 check inter 2000 rise 2 fall 5 server web2 65.255.229.38:80 check inter 2000 rise 2 fall 5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408082147.i78LlwV8019960>