Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. global
  2. maxconn 512
  3. nbproc 1
  4. pidfile /var/run/haproxy.pid
  5.  
  6. user haproxy
  7. group haproxy
  8.  
  9. defaults
  10. mode http
  11.  
  12. frontend http-in
  13. bind 172.16.0.11:80
  14.  
  15. acl catchchallenger hdr(host) -i catchchallenger.portable-datacenter.first-world.info
  16. use_backend catchchallenger if catchchallenger
  17.  
  18. timeout client 86400000
  19. default_backend default_site
  20.  
  21. backend default_site
  22. timeout connect 500
  23. timeout server 86400000
  24. server server1 172.16.0.12:80 maxconn 20 check
  25.  
  26. backend catchchallenger
  27. timeout connect 500
  28. timeout server 86400000
  29. server haproxy 172.16.0.10:80 maxconn 20 check
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement