Skip to content

Instantly share code, notes, and snippets.

@matsuu
Created March 24, 2015 15:12
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 matsuu/c4b5532075c95401fb9e to your computer and use it in GitHub Desktop.
Save matsuu/c4b5532075c95401fb9e to your computer and use it in GitHub Desktop.
nginx.conf
server {
listen 80;
server_name _;
location /foo/ {
proxy_pass http://127.0.0.1:3000/;
}
location /bar/ {
proxy_pass http://127.0.0.1:3001/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment