1.修改nginx.conf配置文件,在http大括号中添加如下配置upstreamnginx{
server192.168.2.140:8080;
server192.168.2.136:8080;
checkinterval=3000rise=2fall=5timeout=1000type=http;
check_http_send"HEAD/HTTP/1.0\r\n\r\n";
check_http_expect_alivehttp_2xxhttp_3xx;
}2.在..
分类:
其他好文 时间:
2017-07-04 13:26:31
阅读次数:
155