Skip to content

Instantly share code, notes, and snippets.

@RizkyRajitha
Created January 22, 2021 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RizkyRajitha/b2f2fad8500fcd65903fc0a334b4559a to your computer and use it in GitHub Desktop.
Save RizkyRajitha/b2f2fad8500fcd65903fc0a334b4559a to your computer and use it in GitHub Desktop.
load balancing nginx config
http {
upstream all {
server localhost:8081;
server localhost:8080;
}
server{
listen 80;
location / {
proxy_pass http://all/;
}
}
}
events {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment