Skip to content

Instantly share code, notes, and snippets.

@ararog
Created September 28, 2014 00:26
Show Gist options
  • Save ararog/39b90fe5a1cc52336654 to your computer and use it in GitHub Desktop.
Save ararog/39b90fe5a1cc52336654 to your computer and use it in GitHub Desktop.
events {
worker_connections 4096; ## Default: 1024
}
http {
upstream backend {
server web1:3000;
server web2:3000;
server web3:3000;
}
server {
listen 80;
location / {
proxy_pass http://backend;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment