diff --git a/nginx/default.conf b/nginx/default.conf index c8fb4d6..139b12e 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -20,6 +20,11 @@ server { } location / { + root /app/frontend/dist; + try_files $uri $uri/ /index.html =404; + } + + location /api { proxy_pass http://127.0.0.1:8082; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;