Created
July 30, 2010 05:15
-
-
Save igrigorik/499944 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults | |
mode http | |
clitimeout 600000 # maximum inactivity time on the client side | |
srvtimeout 600000 # maximum inactivity time on the server side | |
timeout connect 8000 # maximum time to wait for a connection attempt to a server to succeed | |
balance roundrobin # each server is used in turns, according to assigned weight | |
frontend http | |
bind :8080 | |
default_backend websocket | |
backend websocket | |
no option httpclose | |
server websocket0 127.0.0.1:10000 weight 1 maxconn 400 | |
server websocket1 127.0.0.1:10001 weight 1 maxconn 400 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment