Skip to content
New issue

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

Can I get keepalive and other upstream config #27

Open
zheng-ji opened this issue Jun 22, 2016 · 1 comment
Open

Can I get keepalive and other upstream config #27

zheng-ji opened this issue Jun 22, 2016 · 1 comment

Comments

@zheng-ji
Copy link

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

@agentzh
Copy link
Member

agentzh commented Jul 1, 2016

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants