Re: multiple applications using HAproxy LB

2009-10-13 Thread Aleksandar Lazic
On Die 13.10.2009 09:14, Xia Jiang wrote: Hi, Ryan Sorry, I might not have explained this clearly. What I need is explained here: http://agiletesting.blogspot.com/2009/02/load-balancing-in-amazon-ec2-with.html However, I am having problem of acl Boolean statement: how about to use this

RE: multiple applications using HAproxy LB

2009-10-13 Thread Xia Jiang
12, 2009 3:39 PM To: Ryan Schlesinger Cc: haproxy@formilux.org; xji...@xignite.com Subject: Re: multiple applications using HAproxy LB I am using Nginx in front of HAProxy to provide similar functionality. I personally like Nginx because it is a little lighter in terms of resources, but that is just

Re: multiple applications using HAproxy LB

2009-10-12 Thread Aleksandar Lazic
On Mon 12.10.2009 14:42, Ryan Schlesinger wrote: It sounds like what you really want is to put apache (or some other web server) in front of haproxy to do name based virtual hosting. Requests for your two domains would work like this: client -> apache:80 (domain1 virtual host) -> haproxy:8080 c

Re: multiple applications using HAproxy LB

2009-10-12 Thread Ryan Schlesinger
It sounds like what you really want is to put apache (or some other web server) in front of haproxy to do name based virtual hosting. Requests for your two domains would work like this: client -> apache:80 (domain1 virtual host) -> haproxy:8080 client -> apache:80 (domain2 virtual host) -> hap