Skip to content

Instantly share code, notes, and snippets.

@chris-schmitz
Last active September 13, 2017 20:18
Show Gist options
  • Save chris-schmitz/d7e7a22a4b43688b80dc17bf0232358f to your computer and use it in GitHub Desktop.
Save chris-schmitz/d7e7a22a4b43688b80dc17bf0232358f to your computer and use it in GitHub Desktop.
Nginx proxy pass for a node.js server
server {
listen <my-server's-external-ip>:80;
server_name <my-custom-domain-name.whateva>;
location / {
proxy_pass http://localhost:<node-process-port>;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment