fix(nginx): 移除已退役香港上游
生产香港旧节点已经离线,固定上游地址会让请求等待连接超时后才回退宁波。\n\n移除失效的 API 与 Web NodePort,并补充仅配置已部署站点入口的说明。\n\n验证:生产 nginx -t 通过;本地配置与线上 active 配置 SHA-256 一致。
This commit is contained in:
@@ -1,15 +1,16 @@
|
|||||||
upstream easyai_gateway_api {
|
upstream easyai_gateway_api {
|
||||||
least_conn;
|
least_conn;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
|
# Only list NodePorts that currently have a deployed site edge. A stale
|
||||||
|
# fixed address delays every request until proxy_connect_timeout expires.
|
||||||
server 10.77.0.1:31088 max_fails=2 fail_timeout=5s;
|
server 10.77.0.1:31088 max_fails=2 fail_timeout=5s;
|
||||||
server 10.77.0.2:31089 max_fails=2 fail_timeout=5s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream easyai_gateway_web {
|
upstream easyai_gateway_web {
|
||||||
least_conn;
|
least_conn;
|
||||||
keepalive 32;
|
keepalive 32;
|
||||||
|
# Keep this aligned with the deployed site-specific Web services.
|
||||||
server 10.77.0.1:31178 max_fails=2 fail_timeout=5s;
|
server 10.77.0.1:31178 max_fails=2 fail_timeout=5s;
|
||||||
server 10.77.0.2:31179 max_fails=2 fail_timeout=5s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|||||||
Reference in New Issue
Block a user