mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-10-20 08:53:45 +08:00
opt: 优化 docker-compse 构建脚本,修复后端路由 Bug
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Listen = "0.0.0.0:5678"
|
||||
ProxyURL = "http://127.0.0.1:7777"
|
||||
ProxyURL = "http://192.168.3.200:7777"
|
||||
MysqlDns = "root:12345678@tcp(192.168.3.200:3306)/chatgpt_plus?charset=utf8mb4&parseTime=True&loc=Local"
|
||||
|
||||
[Session]
|
||||
|
@@ -35,7 +35,7 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_pass http://192.168.3.200:5678; # 这里改成后端服务的内网 IP 地址
|
||||
proxy_pass http://192.168.3.200:6789; # 这里改成后端服务的内网 IP 地址
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user