Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global
- maxconn 512
- nbproc 1
- pidfile /var/run/haproxy.pid
- user haproxy
- group haproxy
- defaults
- mode http
- frontend http-in
- bind 172.16.0.11:80
- acl catchchallenger hdr(host) -i catchchallenger.portable-datacenter.first-world.info
- use_backend catchchallenger if catchchallenger
- timeout client 86400000
- default_backend default_site
- backend default_site
- timeout connect 500
- timeout server 86400000
- server server1 172.16.0.12:80 maxconn 20 check
- backend catchchallenger
- timeout connect 500
- timeout server 86400000
- server haproxy 172.16.0.10:80 maxconn 20 check
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement