Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global
- maxconn 4096
- ssl-server-verify none
- defaults
- mode tcp
- balance roundrobin
- option redispatch
- option forwardfor
- timeout connect 5s
- timeout queue 5s
- timeout client 36000s
- timeout server 36000s
- frontend http-in
- mode tcp
- bind *:80
- default_backend rancher_servers
- acl is_websocket hdr(Upgrade) -i WebSocket
- acl is_websocket hdr_beg(Host) -i ws
- use_backend rancher_servers if is_websocket
- backend rancher_servers
- server RancherServer1 10.5.52.186:8080 weight 1 maxconn 1024 check
- server RancherServer2 10.5.52.189:8080 weight 1 maxconn 1024 check
Add Comment
Please, Sign In to add comment