Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global
- ulimit-n 655570
- group haproxy
- user haproxy
- log 127.0.0.1 local1 emerg info
- maxconn 32768
- daemon
- nbproc 4
- defaults
- mode http
- backlog 100000
- log global
- timeout client 10s
- timeout server 10s
- timeout queue 10s
- timeout connect 5s
- timeout http-request 5s
- option abortonclose
- frontend frontend_http
- mode http
- bind 2.1.1.1:80
- default_backend backend_http
- maxconn 32768
- rate-limit sessions 100000
- option forwardfor
- backend backend_http
- balance roundrobin
- option nolinger
- option httpchk GET /ready
- server serv-1 1.2.3.1:80 check weight 8 maxconn 5000
- server serv-2 1.2.3.2:80 check weight 8 maxconn 5000
- server serv-3 1.2.3.3:80 check weight 12 maxconn 5000
- server serv-4 1.2.3.4:80 check weight 12 maxconn 5000
- listen admin
- mode http
- timeout connect 10s
- bind 1.2.3.5:8080
- stats enable
- stats realm Haproxy\ Statistics
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement