Guest User

Untitled

a guest
Sep 19th, 2011
207
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global
  2. log 127.0.0.1 local2
  3. chroot /var/lib/haproxy
  4. pidfile /var/run/haproxy.pid
  5. maxconn 4000
  6. user haproxy
  7. group haproxy
  8. daemon
  9.  
  10. defaults
  11. mode http
  12. log global
  13. option dontlognull
  14. option httpclose
  15. option httplog
  16. option forwardfor
  17. timeout connect 10000
  18. timeout client 300000
  19. timeout server 300000
  20. maxconn 60000
  21. retries 3
  22. stats enable
  23. stats uri /haproxy-status
  24. stats refresh 5s
  25.  
  26. frontend main *:8091
  27. default_backend app
  28.  
  29. backend app
  30. balance roundrobin
  31. server mybox1 10.10.10.1:8091 check
  32. server mybox2 10.10.10.2:8091 check
  33. server mybox3 10.10.10.3:8091 check
  34. server mybox4 10.10.10.4:8091 check
RAW Paste Data