Re: using haproxy with tcp as a router

2013-11-12 Thread Baptiste
Hi Tim, Solution 1 can't work as you want it. HAProxy can look in the payload for an ID, it could match it in a stick table you would have to fill up, but it can't forward the payload on an already established TCP connection. Solution 2 may work, since HAProxy only analyzes HTTP headers. It does

Re: Dual HAProxy SSL instances crashing together with no log messages

2013-11-12 Thread Baptiste
Hi Sam, In a general manner, never ever use in production a tar.gz from the dev branch. As Lukas stated, prefer using a snapshot. They are more stable ;) Baptiste On Mon, Nov 11, 2013 at 8:56 PM, Sam hapr...@unsavory.com wrote: Thank you for the response, Lukas. We are running dual

Re: Haproxy SSL offloading to nginx backend web servers - need persistent connections

2013-11-12 Thread Baptiste
Hi Chris, How can you point HAProxy in such problem? I mean, you have a single server in your farm, so if the browser can't download objects, it may come from an other point. And since you have a single server, you don't need persistence ;) Can you confirm whether: - the application works well

Re: using haproxy with tcp as a router

2013-11-12 Thread Tim Prepscius
Thank you for this response. -tim On 11/12/13, Baptiste bed...@gmail.com wrote: Hi Tim, Solution 1 can't work as you want it. HAProxy can look in the payload for an ID, it could match it in a stick table you would have to fill up, but it can't forward the payload on an already established

Re: Haproxy SSL offloading to nginx backend web servers - need persistent connections

2013-11-12 Thread Chris
Baptiste, Thanks again for taking the time to read through and respond. I had done a lot of troubleshooting and tried many different configuration options, to the point that I am now confused. You are correct, with only one web server, persistence is not necessary, I should have realized this.

balance hdr() enhancment suggestion

2013-11-12 Thread Michael Johnson - MJ
Hi, I'm just getting started with haproxy. I plan on using the the 'hdr(host)' as the balancing algorithm, but it's not quite exactly what I need. As an example, let's say I have 3 domains: one.com, two.com, and three.com. My webserver is configured to have an fcgid process that is shared by

Re: Haproxy SSL offloading to nginx backend web servers - need persistent connections

2013-11-12 Thread Baptiste
Hi Chris, It is recommended to use option http-server-close, unless for specific use (like NTLM). So please turn it on. You have basically 3 main choices: - cookie SERVERID insert = HAProxy will setup a cookie called SERVERID - cookie PHPSESSID prefix = HAProxy will use the application cookie

Re: cant seem to compile haproxy with openssl 1.0.1e on centos

2013-11-12 Thread steve
Baptiste bedis9@... writes: Hi Steve, Please try the procedure below: download openssl library, untar it, go in the dir, then: $ export STATICLIBSSL=/tmp/staticlibssl $ ./config --prefix=$STATICLIBSSL no-shared $ make make install_sw Then compile HAProxy: $ make