-
-
Save Mozartted/7bd8164b3b5743c13cdf3b8f1786c355 to your computer and use it in GitHub Desktop.
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
# http context | |
upstream backend_hosts { | |
least_conn; | |
server host1.example.com; | |
server host2.example.com; | |
server host3.example.com; | |
} | |
# next we set up our server | |
server { | |
listen 80; | |
server_name example.com; | |
location /proxy-me { | |
proxy_pass http://backend_hosts; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment