diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..b7dab5e9c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules +build \ No newline at end of file diff --git a/nginx/default.conf b/nginx/default.conf index c5c2028ec..8f0fb90cb 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -2,9 +2,10 @@ server { listen 80; server_name localhost; root /app/dashboard/; - - location / { + + location /dashboard/ { + alias /app/dashboard/; index index.html; - try_files $uri $uri/ /index.html$args; + try_files $uri $uri/ /dashboard/index.html$args; } } \ No newline at end of file