Last active
May 14, 2021 16:04
-
-
Save alperen-selcuk/c212239e2a46652d6d21ba4c176fab5d to your computer and use it in GitHub Desktop.
conf for lb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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