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

Incorrect Upstream/Server/State #44

Closed
zarmack opened this issue Jun 28, 2016 · 2 comments
Closed

Incorrect Upstream/Server/State #44

zarmack opened this issue Jun 28, 2016 · 2 comments
Labels

Comments

@zarmack
Copy link

zarmack commented Jun 28, 2016

Hi,

I've got configured a upstream with two servers

upstream BENJS {
server 127.0.0.1:53000;
server 127.0.0.1:53001;
}

On 127.0.0.1:53001 the service is stopped, but on VTS's status page, the state is "up".

It's a mistake ?

Best Regards,
Zarmack

@vozlt
Copy link
Owner

vozlt commented Jun 29, 2016

Hi, It is normal.

The state is not currently state.
The state(down field in json) is just value(down) in upstream group.
So, the state is static field by upstream config.
See the ngx_http_upstream_module docs.
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#down

@zarmack
Copy link
Author

zarmack commented Jun 29, 2016

Many thanks !

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

No branches or pull requests

2 participants