Guest User

Untitled

a guest
Sep 11th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. global
  2. maxconn 4096
  3. ssl-server-verify none
  4.  
  5. defaults
  6. mode tcp
  7. balance roundrobin
  8. option redispatch
  9. option forwardfor
  10.  
  11. timeout connect 5s
  12. timeout queue 5s
  13. timeout client 36000s
  14. timeout server 36000s
  15.  
  16. frontend http-in
  17. mode tcp
  18. bind *:80
  19. default_backend rancher_servers
  20.  
  21. acl is_websocket hdr(Upgrade) -i WebSocket
  22. acl is_websocket hdr_beg(Host) -i ws
  23. use_backend rancher_servers if is_websocket
  24.  
  25. backend rancher_servers
  26. server RancherServer1 10.5.52.186:8080 weight 1 maxconn 1024 check
  27. server RancherServer2 10.5.52.189:8080 weight 1 maxconn 1024 check
Add Comment
Please, Sign In to add comment