Last active
August 29, 2015 14:21
-
-
Save carlessanagustin/f34db6dc45e376029682 to your computer and use it in GitHub Desktop.
Nginx simple reverse proxy
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 app_server { | |
server 172.17.0.1:8080 fail_timeout=0; | |
} | |
server { | |
listen 80; | |
location / { | |
proxy_pass http://app_server; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment