Created
April 13, 2020 14:21
-
-
Save shijiezhou1/82540859642fd24e1b5a59f1c4624c15 to your computer and use it in GitHub Desktop.
Setup Nginx Configuration For Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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