yejingx

Results 22 comments of yejingx

参考 [这里](https://github.com/upyun/lua-resty-checkups/blob/master/lib/resty/checkups/try.lua#L85-L99)。

Can you share your 10w cid?We will check if there is something wrong.

@walkermi 原因如你所说,http 和 stream 是不同的子系统,这个目前没有办法解决。

项目组织形式不同而已,包和代码都可以复用。

`/usr/local/slardar/nginx/conf/nginx.conf:37` 这个文件有改过吗?37 行贴一下看看是什么?

1. Currently, we support two balance modes, `rr` and `hash`. You can write your own balance mode by providing new [callbacks](https://github.com/upyun/lua-resty-checkups/blob/master/lib/resty/checkups/try.lua#L79). 2. What do you mean by `show real upstream...

Change [skey](https://github.com/upyun/slardar/blob/master/nginx/app/src/balance.lua#L11) to `ngx.var.uri`.

> How to change skey to ngx.var.uri Replace [this line](https://github.com/upyun/slardar/blob/master/nginx/app/src/balance.lua#L11) with `local skey = ngx.var.uri`

@jiangsuwwj1 我的邮箱: [email protected]

> 如何设置默认的动态代理呢? 要做到『默认』是否要考虑 Host 为空和 Host 不在你的列表里两种情况? 如果是的话,建议在 balancer.lua 里做修改: ``` local my_hosts = { hostA = 1, hostB = 1, hostC = 1, } local skey = ngx.var.host if...