4
访问localhost会出现
但是访问配置的健康检查页面一直404.
修改的nginx.conf如下:
upstream test {
server 192.168.80.11:8080 weight=2;
server 192.168.80.12:8080 weight=1;
check interval=3000 rise=2 fall=5 timeout=1000 type=http;
check_http_send "HEAD / HTTP/1.0\r\n\r\n";
check_http_expect_alive http_2xx http_3xx;
}
location /test { check_status; access_log off; } 第一次用,都是按照网上找的教程,一直报错,求大神指教,谢谢