标签:com nbsp timeout 访问 proxy div str 遇到 http
也是线上遇到的问题, 假设nginx配置为
upstream zed {
server 192.168.0.1:3000 max_fails=3 fail_timeout=30s;
server 192.168.0.2:3000 backup max_fails=3 fail_timeout=30s;
}
server {
listen 80;
server_name zed.com;
location / {
proxy_pass http://zed/;
}
}
如果 192.168.0.1:3000 和 192.168.0.1:3000 同时down掉, 且被nginx重试了3次。立马 192.168.0.1:3000 和 192.168.0.1:3000恢复的情况下,服务还会无法访问持续30s
Nginx Backup 报错 502 Bad Gateway
标签:com nbsp timeout 访问 proxy div str 遇到 http
原文地址:https://www.cnblogs.com/restful/p/13072215.html