Fixed issue with non html path

This commit is contained in:
Shahan Nedadahandeh 2022-07-01 13:14:01 -07:00
parent b714317622
commit ae281310f1
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ server {
location / {
root /usr/share/nginx/html;
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;
}