Created
January 5, 2013 09:27
-
-
Save reggi/4460733 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
| global | |
| maxconn 4096 | |
| user nobody | |
| daemon | |
| defaults | |
| mode http | |
| frontend all 0.0.0.0:80 | |
| timeout client 86400000 | |
| default_backend www_nodejs | |
| acl is_websocket hdr(upgrade) -i websocket | |
| acl is_websocket hdr_beg(host) -i ws | |
| use_backend www_nodejs if is_websocket | |
| backend www_nodejs | |
| option forwardfor | |
| timeout server 86400000 | |
| timeout connect 4000 | |
| server nodejs 127.0.0.1:3000 weight 1 maxconn 10000 check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment