Add the try_files directive to the nginx configuration
This commit is contained in:
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user