Advertisement
Guest User

Untitled

a guest
Oct 10th, 2011
710
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. global
  2. user haproxy
  3. group haproxy
  4. daemon
  5. maxconn 40000
  6. ulimit-n 80250
  7.  
  8. defaults
  9. log global
  10. mode http
  11. option dontlognull
  12. option log-separate-errors
  13. option redispatch
  14. retries 3
  15. timeout connect 20s
  16. timeout server 900s
  17. timeout client 900s
  18. balance roundrobin
  19.  
  20. listen stats 10.0.0.1:8080
  21. mode http
  22. stats uri /
  23. stats hide-version
  24. stats refresh 5s
  25.  
  26. listen myaspnetsite 10.0.0.1:10003
  27. mode http
  28. option httplog
  29. balance roundrobin
  30. stats enable
  31. stats hide-version
  32. stats scope .
  33. stats uri /admin?stats
  34. stats refresh 5s
  35. option forwardfor
  36. option http-server-close
  37. option httpchk HEAD /ping.htm HTTP/1.0 #not good enough
  38. option redispatch
  39. option allbackups
  40. server server1 10.0.0.11:10003 check observe layer7 slowstart 90s
  41. server server2 10.0.0.12:10003 check observe layer7 slowstart 90s
  42. server bkupsrv1 10.0.0.13:10003 backup check observe layer7 slowstart 120s
  43. server bkupsrv2 10.0.0.14:10003 backup check observe layer7 slowstart 120s
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement