最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

nginx报: [error] 35171#0: *35 no live upstreams while connecting to upstream, client

互联网 admin 27浏览 0评论

nginx报: [error] 35171#0: *35 no live upstreams while connecting to upstream, client

nginx报错:“[error] 35171#0: *35 no live upstreams while connecting to upstream, client: 114.241.109.14, server: jiangxinyanyi.com, request: “GET /admin/index HTTP/1.1”, upstream: “”, host: “www.jiangxinyanyi.com””

问题: no live upstreams while connecting to upstream

错误方式:

upstream tomcat1{ip_hash;server 39.106.21.243:80; server 39.106.4.96:80;}

解决方式:

upstream tomcat1{ip_hash;server 39.106.21.243:80 max_fails=5 fail_timeout=60s; #为5秒,不要改为1秒server 39.106.4.96:80 max_fails=5 fail_timeout=60s;}

nginx报: [error] 35171#0: *35 no live upstreams while connecting to upstream, client

nginx报错:“[error] 35171#0: *35 no live upstreams while connecting to upstream, client: 114.241.109.14, server: jiangxinyanyi.com, request: “GET /admin/index HTTP/1.1”, upstream: “”, host: “www.jiangxinyanyi.com””

问题: no live upstreams while connecting to upstream

错误方式:

upstream tomcat1{ip_hash;server 39.106.21.243:80; server 39.106.4.96:80;}

解决方式:

upstream tomcat1{ip_hash;server 39.106.21.243:80 max_fails=5 fail_timeout=60s; #为5秒,不要改为1秒server 39.106.4.96:80 max_fails=5 fail_timeout=60s;}
发布评论

评论列表 (0)

  1. 暂无评论