Nginx 404 fix
This commit is contained in:
parent
c2fd747f33
commit
5b076aa9de
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ server {
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
|
|
Loading…
Add table
Reference in a new issue