added try_files directive to avoid 404 error while refreshing pages in Web UI
Merge branch 'develop'pull/85/head
commit
88af282d66
|
|
@ -33,6 +33,8 @@ 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;
|
||||
}
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
|
|
|||
Loading…
Reference in New Issue