Wrap text
Report abuse
|
|
global
log 127.0.0.1 local0 info
daemon
pidfile /var/run/mongrel_cluster/haproxy.pid
defaults
log global
mode http
option abortonclose
option redispatch
option httpclose
retries 3
clitimeout 30s
srvtimeout 30s
maxconn 4096
timeout client 30s
timeout server 30s
timeout connect 30s
#backend thin
listen rails-thins *:8999
balance roundrobin
server server-0 127.0.0.1:9000 maxconn 1 check inter 30s slowstart 10s
server server-1 127.0.0.1:9001 maxconn 1 check inter 30s slowstart 10s
server server-2 127.0.0.1:9002 maxconn 1 check inter 30s slowstart 10s
server server-3 127.0.0.1:9004 maxconn 1 check inter 30s slowstart 10s
server server-4 127.0.0.1:9005 maxconn 1 check inter 30s slowstart 10s
server server-5 127.0.0.1:9006 maxconn 1 check inter 30s slowstart 10s
server server-6 127.0.0.1:9007 maxconn 1 check inter 30s slowstart 10s
server server-7 127.0.0.1:9008 maxconn 1 check inter 30s slowstart 10s
server server-8 127.0.0.1:9009 maxconn 1 check inter 30s slowstart 10s
|