Skip to content

Instantly share code, notes, and snippets.

@alperen-selcuk
Last active May 14, 2021 16:04
Show Gist options
  • Save alperen-selcuk/c212239e2a46652d6d21ba4c176fab5d to your computer and use it in GitHub Desktop.
Save alperen-selcuk/c212239e2a46652d6d21ba4c176fab5d to your computer and use it in GitHub Desktop.
conf for lb
upstream loadbalance {
server 10.154.0.4:5001;
server 10.154.0.4:5002;
}
server {
location / {
proxy_pass http://loadbalance;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment