Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created October 9, 2009 18:17
Show Gist options
  • Save defunkt/206222 to your computer and use it in GitHub Desktop.
Save defunkt/206222 to your computer and use it in GitHub Desktop.
# port 3000 is haproxy
upstream github {
server 127.0.0.1:3000;
}
# unicorn master opens a unix domain socket
upstream github {
server unix:/data/github/current/tmp/sockets/unicorn.sock;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment