rendered paste body# this config needs haproxy-1.1.28 or haproxy-1.2.1
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
#chroot /usr/share/haproxy
user haproxy
group haproxy
daemon
#debug
#quiet
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
stats enable
stats auth admin:rfvdsa
stats uri /admin?stats
stats refresh 5s
frontend http-in
bind *:80
default_backend servers
backend servers
cookie SERVERID rewrite
option persist
balance roundrobin
server one 10.0.0.11:80 cookie wwwone check inter 2000
#server two 10.0.0.12:80 cookie wwwtwo check inter 2000