lua-resty-consul-storage-adapter
Consul 存储适配器,用于 resty-auto-ssl
$ opm get klkvsk/lua-resty-consul-storage-adapter
安装
opm install klkvsk/lua-resty-consul-storage-adapter
配置
将以下内容放入您的 init_by_lua_block 中
auto_ssl:set("storage_adapter", "resty.consul_storage_adapter")
auto_ssl:set("consul", {
token = "your-token"
})
其他可配置参数为
host(默认:127.0.0.1)port(默认:8500)connect_timeout(默认:60s)read_timeout(默认:60s)ssl(默认:false)ssl_verify(默认:true)sni_host(默认:nil)
作者
Mikhail Kulakovskiy
许可证
mit
依赖
版本
-
Consul 存储适配器,用于 resty-auto-ssl 2020-03-17 14:42:23
-
Consul 存储适配器,用于 resty-auto-ssl 2020-02-14 20:23:56