Skip to content

Instantly share code, notes, and snippets.

@kenmazaika
Created June 12, 2011 22:17
Show Gist options
  • Save kenmazaika/1022055 to your computer and use it in GitHub Desktop.
Save kenmazaika/1022055 to your computer and use it in GitHub Desktop.
haproxy.cfg
global
maxconn 4096
daemon
nbproc 1
defaults
mode http
clitimeout 60000
srvtimeout 30000
contimeout 4000
option httpclose
frontend public
bind :80
default_backend opscode
backend opscode
server srv 127.0.0.1:4040 maxconn 254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment