yejingx

Results 22 comments of yejingx

Which [lua-nginx-module](https://github.com/openresty/lua-nginx-module#tcpsocksslhandshake) version do you use?

@0904681074 You must compile Nginx with openssl before you can use `tcpsocket:sslhandshake`. You can add `--with-openssl` or set your own openssl path [here](https://github.com/upyun/slardar/blob/master/Makefile#L51).

1. The data is in json format, you can refer to [consul-configuration](https://github.com/upyun/slardar#consul-configuration). here is an example, ``` {"enable": true, "servers": [{"host": "127.0.0.1","port": 8001,"weight": 1,"max_fails": 6,"fail_timeout": 30}]} ``` 2. The value...

Please upgrade [lua-resty-checkups](https://github.com/upyun/lua-resty-checkups) to the newest version and try again. This problem seems to have been fixed in the new version. Related issue: https://github.com/upyun/lua-resty-checkups/issues/3

可以支持 `set_by_lua` 的。

@wangwj 检查下你的 [lua-nginx-module](https://github.com/openresty/lua-nginx-module#set_by_lua_block) 版本是否大于 v0.9.17。

恩,看到文档里的说明了: ``` This directive requires the ngx_devel_kit module. ```

Sorry for late reply. > how to add upstream backup servers [Checkups](https://github.com/upyun/lua-resty-checkups) support multi-level servers. But Slardar doesn't support by now. You can see only one level is passed to...

+1 I ran into the same problem with openresty-1.19.9.1 compiled with openssl version 1.1.1n. After downgrading openssl to 1.0.2h the problem disappeared.