Skip to content

Instantly share code, notes, and snippets.

@suprith-s-reddy
Last active April 28, 2020 18:21
Show Gist options
  • Save suprith-s-reddy/443a78101eb48ee8e489c7fd1fc3e6ea to your computer and use it in GitHub Desktop.
Save suprith-s-reddy/443a78101eb48ee8e489c7fd1fc3e6ea to your computer and use it in GitHub Desktop.
Nginx conf for vue app
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