# 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 %(maxconn)s uid 99 gid 99 daemon #debug #quiet defaults log global mode http option httplog option dontlognull option redispatch retries %(retries)s maxconn %(maxconn)s contimeout 5000 clitimeout 50000 srvtimeout 50000 listen internal_access localhost:%(port)s cookie SERVERID insert balance %(balance)s %(rules)s option httpchk %(httpchk)s stats uri /haproxy stats realm Global\ statistics