Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. defaults
  2. mode http
  3. log global
  4. option httplog
  5. option dontlognull
  6. option http-server-close
  7. option forwardfor except 127.0.0.0/8
  8. option redispatch
  9. retries 3
  10. timeout http-request 10s
  11. timeout queue 1m
  12. timeout connect 10s
  13. timeout client 1m
  14. timeout server 1m
  15. timeout http-keep-alive 10s
  16. timeout check 10s
  17. maxconn 3000
  18.  
  19. frontend public
  20. bind :8080
  21. bind :32768-65535
  22.  
  23. acl is_eclipse_server hdr(host) -i eclipse.company.cxx
  24. acl is_websocket hdr(Upgrade) -i Websocket
  25.  
  26. use_backend eclipse_ws if is_eclipse_server is_websocket
  27. use_backend eclipse_www if is_eclipse_server
  28. default_backend default
  29.  
  30. backend eclipse_ws
  31. timeout server 600s
  32. server eclipse_as_ws 10.0.x.x
  33.  
  34. backend eclipse_www
  35. timeout server 60s
  36. server eclipse_as_www 10.0.x.x:8080
  37.  
  38. backend default
  39. timeout server 2s
  40. server default 127.0.0.1:80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement