load balancing % available

Валентин Бартенев vbart at nginx.com
Wed Apr 13 13:15:47 UTC 2016


On Wednesday 13 April 2016 12:21:52 B.R. wrote:
> As per the docs, I do not see a mean of doing what you wish directly in an
> upstream block.
> That cut-off might be a feature request you could post on their bug tracker.
> 
> In the meanwhile, you might parse data about servers from an upstream group
> on a status page you would have configured.
> However, the status module is only part of the commercial version of nginx,
> not the FOSS one. Have a look:
> http://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone
> 
[..]

There is also a demo page that in more user-friendly way demonstrates most of 
the data provided by the status module.

http://demo.nginx.com/status.html

and the raw json data as well:

http://demo.nginx.com/status

  wbr, Valentin V. Bartenev



More information about the nginx mailing list