Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global
- log 127.0.0.1 local0 err
- maxconn 20000
- user haproxy
- group haproxy
- daemon
- stats socket /var/lib/haproxy/stats
- defaults
- mode http
- log global
- option httplog
- option dontlognull
- option forwardfor
- option httpclose
- option redispatch
- retries 3
- timeout http-request 3s
- timeout queue 2m
- timeout connect 5s
- timeout client 1m
- timeout server 1m
- timeout http-keep-alive 10s
- timeout check 10s
- maxconn 20000
- option log-separate-errors
- listen webs_group *:80
- stats enable
- stats uri /stats?stats
- stats realm Our\ Statistics
- stats auth user:pass
- stats admin if TRUE
- option httpchk GET /yyy HTTP/1.0
- http-check expect rstring ^something.
- server backend_server server_addr:80 check
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement