Add the try_files directive to the nginx configuration

This commit is contained in:
Rafi
2023-03-04 14:45:29 +08:00
parent a44ec5e2fb
commit 6402f156dd

View File

@@ -6,6 +6,8 @@ server {
location / { location / {
root /app; root /app;
index index.html; index index.html;
try_files $uri $uri/ /index.html;
} }
location /api/ location /api/