nginx + haproxy + mongrel
y.georgiev at gmail.com
Thu Oct 30 00:51:23 MSK 2008
On Wed, Oct 29, 2008 at 10:48 PM, Asif Ali <azifali at gmail.com> wrote:
> Can anyone share a successful loadbalancing HAProxy script to be used along
> with nginx and mongrel?
> I have used some examples from the haproxy site but certain directives
> aren't working as well as it was supposed to be.
> Thanks in Advance.
> Asif Ali
option httpchk HEAD http://127.0.0.1/check.txt HTTP/1.0
stats uri /load?stats
stats realm Statistics
stats refresh 5s
listen DANCHO XX.XX.XX.1:80
cookie SERVERID insert indirect
server WEB_II XX.XX.XX.2 check inter 1000
server WEB_I 127.0.0.1 weight 50 check inter 1000
Please excuse my bad english...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx