nginx_upstream_check_module icon indicating copy to clipboard operation
nginx_upstream_check_module copied to clipboard

nginx_upstream_check_module nginx 1.17.9 ip_bash not work

Open w7374520 opened this issue 5 years ago • 2 comments

In nginx-1.17.9, add the ip_hash instruction, TCP detection can not check the back-end host in the upstream, the check will always be located on a back-end host, other hosts will not be detected, even if other hosts are offline

configuration example: upstream cluster {

        # simple round-robin
        ip_hash;                              # Open instruction
        server 127.0.0.1:801 ;          # check 
        server 127.0.0.1:8080  ;       # offline, no check

        check interval=5000 rise=1 fall=3 timeout=4000;

        #check interval=3000 rise=2 fall=5 timeout=1000 type=ssl_hello;

        #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;
    }

w7374520 avatar Mar 29 '20 06:03 w7374520

Which version of patch did you add?

yaoweibin avatar Apr 07 '20 12:04 yaoweibin

check_1.16.1+.patch

w7374520 avatar Apr 08 '20 01:04 w7374520