+
95
-

nginx如何设置负载均衡和失败次数?

请问nginx如何设置负载均衡和失败次数?

网友回复

+
15
-

upstream mysvr {
    ip_hash;
    server 127.0.0.1:7878 weight=2 max_fails=2 fail_timeout=2;
    server 192.168.1.222:7878 weight=2 max_fails=2 fail_timeout=2;
    server 192.168.10.121:3333 weight=1 max_fa...

点击查看剩余70%

我知道答案,我要回答