Fixed issue with non html path
This commit is contained in:
parent
b714317622
commit
ae281310f1
|
@ -3,7 +3,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;
|
try_files $uri $uri/ $uri.html $uri.html/ /index.html;
|
||||||
}
|
}
|
||||||
error_page 404 /index.html;
|
error_page 404 /index.html;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue