Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (33 sloc) 636 Bytes
log local0
log local1 notice
#log loghost local0 info
maxconn 4096
#chroot /usr/share/haproxy
user haproxy
group haproxy
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen stats :9090
mode http
stats enable
stats auth admin:admin
listen http :8081
mode tcp
option tcplog
balance roundrobin
server backend1 check
server backend2 check
Something went wrong with that request. Please try again.