nginx_upstream_check_module
nginx_upstream_check_module copied to clipboard
"check" directive is not allowed here
I compliled nginx like this: ./configure --prefix=/usr/local/nginx --with-stream --add-module= /usr/local/src/nginxcheck/nginx_upstream_check_module-master/
and my nginx.conf like this,here i just show the error place:
upstream gprsgroup {
server 192.168.50.90:9876 ;
server 192.168.50.94:9527 ;
check interval=3000 rise=2 fall=5 type=tcp timeout=1000;
}
in an additon, I used it to check tcp server. I change stream to http. then nginx can reload the config successfully. Can the nginx_upstream_check_module surpport the stream?
I got the same error.
This module seems not to support stream. Tried out https://github.com/lusis/ngx_stream_upstream_check_module but not work either.
same error
nginx version: nginx/1.14.0 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) configure arguments: --prefix=/opt/nginx --with-stream --add-module=/root/nginx-1.14.0/nginx_upstream_check_module-master