Forum: NGINX nginx + haproxy + mongrel

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A8b5da3407c1d4dc9666ce8ae8214a72?d=identicon&s=25 Asif Ali (Guest)
on 2008-10-28 20:05
(Received via mailing list)
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.

regards

Asif Ali
A8b5da3407c1d4dc9666ce8ae8214a72?d=identicon&s=25 Asif Ali (Guest)
on 2008-10-29 21:55
(Received via mailing list)
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.

regards

Asif Ali
F28eb3d563d0ab9b4f4f4e89ef77891a?d=identicon&s=25 Yordan Georgiev (Guest)
on 2008-10-29 22:59
(Received via mailing list)
On Wed, Oct 29, 2008 at 10:48 PM, Asif Ali <azifali@gmail.com> wrote:

> Asif Ali
>
>
defaults
        option httpchk HEAD http://127.0.0.1/check.txt HTTP/1.0
        maxconn 2048
        stats enable
        stats uri     /load?stats
        stats realm   Statistics
        stats refresh 5s

listen DANCHO XX.XX.XX.1:80
        balance roundrobin
        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



--
D.

Please excuse my bad english...
WEB: http://gigavolt-bg.net/
Blog:  http://live.gigavolt-bg.net/
This topic is locked and can not be replied to.