We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
upstream backend { server 0.0.0.0; balancer_by_lua_block { require "wario.balancer" } }
如上面的代码块,lua-resty-checkups提供的update和delete好像都是预先需要在nginx.conf里面声明了一个backend,才能去动态变更后段的servers,能不能连这个指令也能通过lua来创建呢?
因为我试过lua-resty-checkups的api是做不到的,不知道是不是姿势不对,希望能得到回复,谢谢
The text was updated successfully, but these errors were encountered:
同求
Sorry, something went wrong.
update_upstream 可以更新一个没有在 nginx.conf 中配置的 upstream,然后可以在如上所示的 wario.balancer 中通过 select_peer 来选择更新的 upstream
nginx.conf
upstream
wario.balancer
https://github.com/yzprofile/ngx_http_dyups_module 这个比较6,但是好像不支持tcp upstream dynamic change and active health check
No branches or pull requests
如上面的代码块,lua-resty-checkups提供的update和delete好像都是预先需要在nginx.conf里面声明了一个backend,才能去动态变更后段的servers,能不能连这个指令也能通过lua来创建呢?
因为我试过lua-resty-checkups的api是做不到的,不知道是不是姿势不对,希望能得到回复,谢谢
The text was updated successfully, but these errors were encountered: