Forum Discussion
Hello,
Have you looked at this http://nginx.org/en/docs/http/ngx_http_api_module.html#example ? You can use /http/upstreams/ /stream/upstreams/
but this is a commecial module./http/server_zones/
Also some extra info about server zones and status zones as they are need for you get the info through the API:
http://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone