updated README of Web UI

pull/67/head
13621160019@163.com 2021-09-08 14:42:42 +08:00 committed by Caozhenhui
parent a38743b722
commit 0ca38136b4
1 changed files with 2 additions and 0 deletions

2
web/README.md vendored
View File

@ -87,6 +87,8 @@ Add a new 'server' section with direstives as below:
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;
}
-- To avoid CORS issue, use Nginx to proxy myems-api to path /api
-- Add another location /api in 'server ', replace demo address http://127.0.0.1:8000/ with actual url