Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NGINX load balancer
http {
upstream api {
server api.example.com:5000;
server api.example.com:5001;
server api.example.com:5002;
}
server {
listen 80;
location / {
proxy_pass http://api;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.