openresty/lua-upstream-nginx-module

Can I get keepalive and other upstream config

zheng-ji opened this issue · 1 comments

Thanks for your share.

Can I get other config by this module,such as keepalive option along with servers

 server  127.0.0.1:8011 weight=20 max_fails=0 fail_timeout=10s;
 server  127.0.0.1:8012 weight=20 max_fails=0 fail_timeout=10s;
 keepalive 2048;

Wait for your answer sincerely

@zheng-ji The servers can already be obtained by the current Lua API. There is no Lua API yet for fetching the ngx_upstream_keepalive_module's configuration. Read the manual.