nginx-stream-upsync-module icon indicating copy to clipboard operation
nginx-stream-upsync-module copied to clipboard

For stream protocol. syncing upstreams from etcd or consul and so on, dynamically updating backend servers attribute, not need to reload nginx for tcp protocol, stream configure.

Results 8 nginx-stream-upsync-module issues
Sort by recently updated
recently updated
newest added

### 编译成功,编译信息: ``` bash ./configure --with-stream --add-module=/opt/nginx-stream-upsync-module-1.2.0 make -j 4 make install ``` ### Nginx报错信息: ``` bash cat error.log 2018/12/19 15:09:41 [notice] 22506#0: using the "epoll" event method 2018/12/19 15:09:41...

Hi: 这是报错信息 配置信息是这样的: upstream consul_test { server bigdatatest1:21050;# 这个固定的,不用理 upsync 127.0.0.1:8500/v1/kv/upstreams/consul_test/ upsync_timeout=3000ms upsync_interval=500ms upsync_type=consul strong_dependency=off; upsync_dump_path /usr/local/nginx/conf/upsync_test.conf; include /usr/local/nginx/conf/upsync_test.conf; } server{ listen 21052 so_keepalive=on; proxy_connect_timeout 10; proxy_timeout 900; proxy_pass consul_test;...

希望作者能早日升级nginx-stream-upsync-module模块的功能,可以支nginx_upstream_check_module模块的健康监测方式。

enhancement

nginx-stream-upsync-module can't check the upstream server 's health stauts, is there any other module compatible with this module ?

版本:1.12.2(也尝试过1.14.2) 编译方式: configure --add-module=./nginx-stream-upsync-module --with-stream 配置: stream { upstream test { server 127.0.0.1:8080 down; upsync 10.120.174.5:2379/v2/keys/test/nginx/upstream2 upsync_timeout=6m upsync_interval=500ms upsync_type=etcd strong_dependency=off; upsync_dump_path /opt/nginx_upstream/flow.test.yidian-inc.com_stream2.conf; include /opt/nginx_upstream/flow.test.yidian-inc.com_stream2.conf; } server { listen 12345; proxy_connect_timeout...

编译的命令是:./configure --prefix=/usr/local/nginx --with-pcre=../pcre-8.42 --add-module=../nginx_upstream_check_module/ --add-module=../nginx-upsync-module/ --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --add-module=../nginx-stream-upsync-module 报错如下: les -I ../nginx-upsync-module//src -I ../nginx-stream-upsync-module/src \ -o objs/addon/src/ngx_http_json.o \ ../nginx-upsync-module//src/ngx_http_json.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g...

我已经按照说明编译好了nginx,做测试 发现不会拉取consul的配置,请问这个功能是已经完成了 还是说正在开发中,: 我的配置如下: stream { upstream backend_fuxi-search { upsync ngx_manage.ihomefnt.org:8500/v1/kv/sit/upstreams/backend_fuxi-search_grpc/ upsync_timeout=6m upsync_interval=500ms upsync_type=consul strong_dependency=off; upsync_dump_path /usr/local/nginx/vhost_grpc/fuxi-search_grpc.conf; include /usr/local/nginx/vhost_grpc/fuxi-search_grpc.conf; } server { listen 12345; proxy_connect_timeout 1s; proxy_timeout 3s; proxy_pass backend_fuxi-search;...