Skip to content

Instantly share code, notes, and snippets.

@shijiezhou1
Created April 13, 2020 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 shijiezhou1/82540859642fd24e1b5a59f1c4624c15 to your computer and use it in GitHub Desktop.
Save shijiezhou1/82540859642fd24e1b5a59f1c4624c15 to your computer and use it in GitHub Desktop.
Setup Nginx Configuration For Server
server {
listen 80;
location / {
# if you index.js is listening on port 3000
# or for location
# proxy_pass http://0.0.0.0:3000
proxy_pass http://127.0.0.1:3000
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment