Created
January 24, 2011 13:05
-
-
Save jlbfalcao/793188 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
backend websocket_backend | |
timeout server 864000000 | |
server ws1 localhost:4443 maxconn 200 check | |
backend web_backend | |
timeout server 864000000 | |
server w localhost:9292 maxconn 200 check | |
frontend all 0.0.0.0:8181 | |
timeout client 864000000 | |
default_backend web_backend | |
# mode tcp | |
acl is_websocket hdr(Upgrade) -i WebSocket | |
acl is_websocket hdr_beg(Host) -i ws | |
use_backend websocket_backend if is_websocket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment