Created
January 1, 2020 02:12
-
-
Save avinashseth/295ffb61c4096305c14859bbc94373d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
http { | |
upstream avinash { | |
server 123.123.123.123; | |
server 124.1.124.125; | |
} | |
# This server accepts all traffic to port 80 and passes it to the upstream. | |
# Notice that the upstream name and the proxy_pass need to match. | |
server { | |
listen 80; | |
location / { | |
proxy_pass http://avinash; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment