Created
April 28, 2023 13:12
-
-
Save aslamdoctor/0a615113359a157060d8d8cb760094d4 to your computer and use it in GitHub Desktop.
Nginx Configurations
This file contains hidden or 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; | |
listen [::]:80; | |
server_name mysite.local; | |
location / { | |
proxy_pass http://localhost:3000/; | |
} | |
} |
This file contains hidden or 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; | |
listen [::]:80; | |
server_name mysite.local; | |
location / { | |
root /var/www/mysite; | |
index index.html index.htm; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment