Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcp upstream 自动获取consul的配置功能什么时候开发完成 #37

Open
kuaiwenwu opened this issue Sep 3, 2019 · 1 comment

Comments

@kuaiwenwu
Copy link

我已经按照说明编译好了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;
}

}

@xiaokai-wang
Copy link
Owner

已支持,可以work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants