tengine
tengine copied to clipboard
新版的安装包编译没有nginx_upstream_check_module 模块吗
upstream datanodes { server datanode1:50070; server datanode2:50070; server datanode3:50070; 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; } 无法识别check 参数 我编译的时候,是直接使用的./configure --prefix=/usr/local/nginx && make && make install 看./configure --help中也没有nginx_upstream_check_module 这个模块,这个是不支持了吗
upstream parser_srv { server 172.16.1.194:8000 ; server 172.16.6.19:8000 ; server 172.16.8.217:8000 ; check interval=5000 rise=2 fall=2 timeout=3000 type=http; check_http_send "HEAD /info HTTP/1.1\r\nHost: 127.0.0.1\r\n\r\n"; check_http_expect_alive http_2xx http_3xx; }
./configure --without-http_upstream_keepalive_module --with-stream --with-stream_ssl_module --with-stream_sni --add-module=modules/ngx_http_upstream_* --add-module=modules/ngx_debug_* --add-module=modules/ngx_http_slice_module --add-module=modules/ngx_http_user_agent_module --add-module=modules/ngx_http_reqstat_module --add-module=modules/ngx_http_proxy_connect_module --add-module=modules/ngx_http_footer_filter_module make make install