Igor A. Ippolitov
February 06, 2018 07:56AM
Akhil,

As a trial user you can ask evaluations@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Help needed on Nginx plus configuration

Akhil Dangore February 06, 2018 07:24AM

Re: Help needed on Nginx plus configuration

Igor A. Ippolitov February 06, 2018 07:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready