Re: Proxy Protocol in 1.4.x ?

2011-07-08 Thread Brane F. Gračnar
On Thursday 07 of July 2011 18:30:10 Sebastien Estienne wrote: > Hello, > > I'd like to use stud https://github.com/bumptech/stud with Haproxy for > SSL support. > Stud implement the haproxy proxy protocol, and i'd like to know if > this will be backported to haproxy 1.4 ? First, thanks for point

Re: Proxy Protocol in 1.4.x ?

2011-07-08 Thread Willy Tarreau
Hi Brane, On Fri, Jul 08, 2011 at 09:34:21AM +0200, Brane F. Gra??nar wrote: > I'm using accept-proxy patch with haproxy 1.4.15 in production for two months > without any problems on moderate loaded instance (cca 3k concurrent > connections, 700-800 reqs/sec)... thanks for your report. > Patch

Re: Proxy Protocol in 1.4.x ?

2011-07-08 Thread Sébastien Estienne
Sebastien Estienne On 7 juil. 2011, at 20:10, Willy Tarreau wrote: > Hi Sebastien, > > On Thu, Jul 07, 2011 at 06:30:10PM +0200, Sebastien Estienne wrote: >> Hello, >> >> I'd like to use stud https://github.com/bumptech/stud with Haproxy for >> SSL support. >> Stud implement the haproxy prox

force-persist

2011-07-08 Thread Mouny Jean michel
Hello Willy, I have the following HAProxy configuration installed on a reverse proxy. Behind this reverse proxy, there are 2 web servers (Serv_1 & Serv_2). If I stopped Serv_1, all HTTP requests from my browser are sent to Serv_2 even if cookie serv1_cookie is set and CHECK_FRONTEND is equal

Re: Proxy Protocol in 1.4.x ?

2011-07-08 Thread Willy Tarreau
Hello Sébastien, On Fri, Jul 08, 2011 at 11:17:12PM +0200, Sébastien Estienne wrote: > yes we perfectly understand this, and that is what we like about haproxy. > But the demand for SSL is growing, it s even mandatory for some use cases. > Stud looks really promising and solid and a good match for

Re: force-persist

2011-07-08 Thread Willy Tarreau
Hello Jean-Michel, On Fri, Jul 08, 2011 at 11:25:26PM +0100, Mouny Jean michel wrote: > Hello Willy, > > I have the following HAProxy configuration installed on a reverse proxy. > Behind this reverse proxy, there are 2 web servers (Serv_1 & Serv_2). If I > stopped Serv_1, > all HTTP requests f

Re: log X-Forwarded-For in haproxy log

2011-07-08 Thread Willy Tarreau
On Thu, Jul 07, 2011 at 11:42:01AM +0100, Hugo Silva wrote: > On 07/05/11 21:25, Julien Vehent wrote: > > x-forwarded-for is a http header. like any other http header, you can > > ask haproxy to log it by using > > > > frontend XYZ > >[...] > > option httplog > > capture request header

Re: HAProxy -

2011-07-08 Thread Willy Tarreau
Hi, On Thu, Jul 07, 2011 at 06:57:32AM +, gidot wrote: > I've enabled the httplog option under the listen section: > > 8<--- > > listen webjailfarm 78.143.58.74:80 > mode http > option httplog > option logasap > log global > cookie SERVERID inser

Re: Redirection based on source URL (using parameters)?

2011-07-08 Thread Willy Tarreau
Hi Unai, On Wed, Jul 06, 2011 at 03:29:06PM +, RODRIGUEZ Unai wrote: > Dear All, > > I am trying to set up redirection rules that use part of the source URL on > the destination URL. Example: > > /(..)/home.htm -> /home/$1 > > Is it possible to do this in HAProxy? Would you please throw so