4
配置如下: upstream test { vnswrr; keepalive 32; server 1.1.1.1:8080; server 2.2.2.2:8080; server 3.3.3.3:8080; server 4.4.4.4:8080; check interval=5000 rise=3 fall=3 timeout=3000 type=http; check_http_send "GET /health.htm HTTP/1.1\r\nConnection: keep-alive\r\n\r\n"; }
检查过网络没有问题,使用过GET/HEAD ,均提示 check protocol http error hith peer : xx.xx.xx.xx 使用tcp进项健康检查,没有问题