diff --git a/deploy/nginx/ai.51easyai.com-cluster.conf b/deploy/nginx/ai.51easyai.com-cluster.conf index ebae2e1..b1c2430 100644 --- a/deploy/nginx/ai.51easyai.com-cluster.conf +++ b/deploy/nginx/ai.51easyai.com-cluster.conf @@ -1,15 +1,16 @@ upstream easyai_gateway_api { least_conn; 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.2:31089 max_fails=2 fail_timeout=5s; } upstream easyai_gateway_web { least_conn; 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.2:31179 max_fails=2 fail_timeout=5s; } server {