<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello Team, </p>
    <div class="moz-forward-container">
      <p>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.<br>
      </p>
      <p>Details explanation of issue:</p>
      <ul>
        <li>I have configured Nginx plus with attatched file, Here I
          have enabled nginx API to reconfigure nginx plus run time</li>
        <li>I am facing some issue to configure using nginx API, below
          are some examples of requests:</li>
        <ul>
          <li>curl localhost:80/api/2/http/requests</li>
          <ul>
            <li>{"total":111562,"current":1} - Working fine</li>
          </ul>
          <li><font color="#ff0000">curl
              localhost:80/api/2/http/upstreams</font></li>
          <ul>
            <li><font color="#ff0000">{} - empty dict - Not working
                fine, since I have configured upstreams in nginx.config
                file as below:</font></li>
            <li><font color="#ff0000">        upstream backend {<br>
                            server localhost:8080;<br>
                            server localhost:8090;<br>
                <br>
                        }<br>
                        location / {<br>
                            proxy_pass <a class="moz-txt-link-freetext"
                  href="http://backend" moz-do-not-send="true">http://backend</a>;<br>
                        }<br>
              </font></li>
            <li><font color="#ff0000">Why am i receiving empty dict ?<br>
              </font></li>
          </ul>
        </ul>
      </ul>
      If you need more details, please let me know.<br>
      <br>
      Regards,<br>
      Akhil<br>
      <font color="#ff0000"> <br>
      </font>
      <p><br>
      </p>
      <p><br>
      </p>
    </div>
  </body>
</html>