改API路径

This commit is contained in:
John Smith
2020-08-19 23:16:01 +08:00
parent 4e7cc7a782
commit 7cfa94c68c
4 changed files with 8 additions and 4 deletions

View File

@@ -111,11 +111,11 @@ server {
try_files $uri $uri/ /index.html;
}
# 动态API
location = /server_info {
location /api {
proxy_pass http://blivechat;
}
# websocket
location = /chat {
location = /api/chat {
proxy_pass http://blivechat;
# 代理websocket必须设置