-
-
Save leandromoreira/41f3a02ee23b61b936cd79999af01db6 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
events { | |
worker_connections 1024; | |
} | |
error_log stderr; | |
http { | |
upstream app { | |
server nginx1:8080; | |
server nginx2:8080; | |
} | |
server { | |
listen 8080; | |
location /api0 { | |
proxy_pass http://app; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment