Last active
April 28, 2020 18:21
-
-
Save suprith-s-reddy/443a78101eb48ee8e489c7fd1fc3e6ea to your computer and use it in GitHub Desktop.
Nginx conf for vue app
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 3000; | |
location / { | |
root /usr/share/nginx/html; | |
index index.html index.htm; | |
try_files $uri $uri/ /index.html =404; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment