Skip to content

Instantly share code, notes, and snippets.

@caironoleto
Created May 3, 2011 13:12
Show Gist options
  • Save caironoleto/953305 to your computer and use it in GitHub Desktop.
Save caironoleto/953305 to your computer and use it in GitHub Desktop.
balancer.load.com
upstream my.balancer.load.com {
server 80.80.80.80:8080;
server 80.80.80.80:8181;
server 81.81.81.81:8080;
server unix:/path/to/your/socket;
}
server {
listen 80;
server_name balancer.load.com
location / {
proxy_pass http://my.balancer.load.com;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment