feat: 集成 Agent 服务治理(ASG)部署配置
- docker-compose.yml 新增 easyai-asg-pg 和 easyai-asg 容器,comfy-server 增加 ASG TCP 连接环境变量 - 新增 .env.ASG.sample 环境变量模板,地址统一使用容器服务名替代固定 IP - easyai-proxy.conf.sample 新增 /asg-api/ 反向代理配置 - README.md 新增 2026.3.2 更新记录及完整升级步骤 Made-with: Cursor
This commit is contained in:
@@ -79,6 +79,18 @@ server {
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location /asg-api/ {
|
||||
proxy_pass http://127.0.0.1:3003/;
|
||||
proxy_read_timeout 300s;
|
||||
client_max_body_size 20M;
|
||||
proxy_redirect off;
|
||||
proxy_set_header X-Original-Prefix '/asg-api';
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location /plugins/ {
|
||||
proxy_pass http://127.0.0.1:3020/plugins/;
|
||||
proxy_redirect off;
|
||||
|
||||
Reference in New Issue
Block a user