Skip to content

Instantly share code, notes, and snippets.

@carlessanagustin
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlessanagustin/f34db6dc45e376029682 to your computer and use it in GitHub Desktop.
Save carlessanagustin/f34db6dc45e376029682 to your computer and use it in GitHub Desktop.
Nginx simple reverse proxy
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