Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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