added try_files directive to avoid 404 error while refreshing pages in Web UI
parent
b6f6b4a74c
commit
a38743b722
|
@ -33,6 +33,7 @@ http {
|
|||
location / {
|
||||
root /var/www/html/web;
|
||||
index index.html index.htm;
|
||||
# add try_files directive to avoid 404 error while refreshing pages
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue