[error] 5292#5912: *3059 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: 66.249.69.219, server: xxx.com, request: "GET /shop/view.jhtml HTTP/1.1", upstream: "http://[::1]:12002/shop/view.jhtml", host: "www.xxx.com"
配置如下:
upstream zcun_pool {
server localhost:
12001 max_fails=1 fail_timeout=30s;
server localhost:
12002 max_fails=1 fail_timeout=30s;
server localhost:
12003 max_fails=1 fail_timeout=30s;
}