Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global
- log 127.0.0.1 local2
- chroot /var/lib/haproxy
- pidfile /var/run/haproxy.pid
- maxconn 4000
- user haproxy
- group haproxy
- daemon
- defaults
- mode http
- log global
- option dontlognull
- option httpclose
- option httplog
- option forwardfor
- timeout connect 10000
- timeout client 300000
- timeout server 300000
- maxconn 60000
- retries 3
- stats enable
- stats uri /haproxy-status
- stats refresh 5s
- frontend main *:8091
- default_backend app
- backend app
- balance roundrobin
- server mybox1 10.10.10.1:8091 check
- server mybox2 10.10.10.2:8091 check
- server mybox3 10.10.10.3:8091 check
- server mybox4 10.10.10.4:8091 check
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement