Files
easyai-ai-gateway/deploy/nginx/cluster-acceptance-origin-ningbo.conf
T
wangbo 74cf0ed5c8 fix(deploy): 避免验收入口端口冲突
将宁波跨节点验收私有入口从被 staging Docker 占用的 18088 调整为 18089,避免 NGINX reload 在切换前失败。同步更新真实文件任务验收脚本默认地址。已通过 node --check、bash -n、ShellCheck 和 git diff --check。
2026-07-29 02:02:42 +08:00

25 lines
662 B
Plaintext

# Private-only deterministic path used by the cross-node acceptance test.
server {
listen 10.77.0.1:18089;
server_name _;
allow 10.77.0.0/24;
deny all;
client_max_body_size 200m;
location / {
proxy_http_version 1.1;
proxy_set_header Host ai.51easyai.com;
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 https;
proxy_set_header Connection "";
proxy_connect_timeout 2s;
proxy_send_timeout 3600s;
proxy_read_timeout 3600s;
proxy_request_buffering off;
proxy_buffering off;
proxy_pass http://10.77.0.1:30088;
}
}