Help needed on Nginx plus configuration

Igor A. Ippolitov iippolitov at nginx.com
Tue Feb 6 12:55:07 UTC 2018


Akhil,

As a trial user you can ask evaluations at nginx.com to help you with this 
setup.
API queries data in status zones. You should configure one for your 
upstream with 'zone backend 64k;' or similar statement inside upstream{} 
block.

Regards.

On 06.02.2018 15:21, Akhil Dangore wrote:
>
> Hello Team,
>
> I am trying Nginx plus for our company product, Currently I am using 
> trail account to achieve our requirement but I am facing some issue.
>
> Details explanation of issue:
>
>   * I have configured Nginx plus with attatched file, Here I have
>     enabled nginx API to reconfigure nginx plus run time
>   * I am facing some issue to configure using nginx API, below are
>     some examples of requests:
>       o curl localhost:80/api/2/http/requests
>           + {"total":111562,"current":1} - Working fine
>       o curl localhost:80/api/2/http/upstreams
>           + {} - empty dict - Not working fine, since I have
>             configured upstreams in nginx.config file as below:
>           +         upstream backend {
>                         server localhost:8080;
>                         server localhost:8090;
>
>                     }
>                     location / {
>                         proxy_pass http://backend;
>                     }
>           + Why am i receiving empty dict ?
>
> If you need more details, please let me know.
>
> Regards,
> Akhil
>
>
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180206/6616dd05/attachment.html>


More information about the nginx mailing list