nginx-stream-upsync-module - Nginx C module, sync upstreams from consul or others, dynamically modify backend-servers attribute(weight, max_fails,...), needn't reload nginx. It may not always be convenient to m
/app/nginx-1.11.5/nginx-upsync-master/nginx-stream-upsync-module/src/ngx_stream_upsync_module.c:304: error: initialization from incompatible pointer type /app/nginx-1.11.5/nginx-upsync-master/nginx-stream-upsync-module/src/ngx_stream_upsync_module.c:305: error: initialization from incompatible po...
添加3个服务 curl -X PUT -d "{\"weight\":1, \"max_fails\":2, \"fail_timeout\":10}" http://127.0.0.1:8500/v1/kv/upstreams/test/172.18.18.10:1234 curl -X PUT -d "{\"weight\":1, \"max_fails\":2, \"fail_timeout\":10}" http://127.0.0.1:8500/v1/kv/upstreams/test/...
stream { upstream test { upsync 127.0.0.1:2379/v2/keys/upstreams/test upsync_timeout=6m upsync_interval=500ms upsync_type=etcd strong_dependency=off; upsync_dump_path /usr/local/nginx/conf/servers/servers_test.conf; include /usr/local/nginx/conf/servers/servers_test.conf; } upstream bar { ...