Skip to content

Instantly share code, notes, and snippets.

/stdin.txt Secret

Created April 1, 2012 22:44
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 anonymous/bb2d9405f26495910f34 to your computer and use it in GitHub Desktop.
Save anonymous/bb2d9405f26495910f34 to your computer and use it in GitHub Desktop.
upstream node_app {
server 127.0.0.1:1337;
}
server {
listen 80 default
server_name my.domain.com
access_log /srv/my-project/access.log
error_log /srv/my-project/error.log
location /my-project {
proxy_pass http://node_app;
proxy_redirect off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment