<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">In your proxy_next_upstream, why do you
      have 'off' enabled.<br>
      <br>
      off — it forbids the request transfer to the next server.<br>
      <br>
      Remove 'off' from that line.<br>
      <br>
      <div class="moz-signature">Sajan Parikh<br>
        <i>Owner, Noppix LLC</i><br>
        <br>
        e: <a class="moz-txt-link-abbreviated" href="mailto:sajan@noppix.com">sajan@noppix.com</a><br>
        p: (563) 726-0371<br>
        <br>
        <img alt="Noppix LLC Logo"
          src="cid:part1.02000400.06050101@noppix.com"></div>
      On 07/03/2013 12:37 AM, Sandeep L wrote:<br>
    </div>
    <blockquote cite="mid:BLU171-W6171044CFF2FBDF4D7C5AAC730@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">@<span style="color: rgb(68, 68, 68); font-size:
          15px; line-height: 21px;">Parikh I tried with </span><span
          style="color: rgb(68, 68, 68); font-size: 15px; line-height:
          21px;"> proxy_next_upstream also but facing same issue.</span>
        <div><font color="#444444"><span style="font-size: 15px;
              line-height: 21px;"><br>
            </span></font></div>
        <div><font color="#444444"><span style="font-size: 15px;
              line-height: 21px;">Regarding fail_timeout I used values
              from 10s to 30s but facing same issue.</span></font></div>
        <div><font color="#444444"><span style="font-size: 15px;
              line-height: 21px;"><br>
            </span></font></div>
        <div><font color="#444444"><span style="font-size: 15px;
              line-height: 21px;">I used following configuration, just
              check and let me know If I am missing any thing.</span></font></div>
        <div><font color="#444444"><span style="font-size: 15px;
              line-height: 21px;"><br>
            </span></font></div>
        <div><b><span style="line-height: 21px; color: rgb(68, 68, 68);
              font-size: 15px;">upstream appcluster {</span><br
              style="line-height: 21px; color: rgb(68, 68, 68);
              font-size: 15px;">
            <span style="line-height: 21px; color: rgb(68, 68, 68);
              font-size: 15px;">  server host1.example.com:8080
              max_fails=2 fail_timeout=10s;</span><br
              style="line-height: 21px; color: rgb(68, 68, 68);
              font-size: 15px;">
            <span style="line-height: 21px; color: rgb(68, 68, 68);
              font-size: 15px;">  server host2.example.com:8080
              max_fails=2 fail_timeout=10s;</span><br
              style="line-height: 21px; color: rgb(68, 68, 68);
              font-size: 15px;">
            <span style="line-height: 21px; color: rgb(68, 68, 68);
              font-size: 15px;">}</span><font color="#444444"><span
                style="font-size: 15px; line-height: 21px;"><br>
              </span></font></b>
          <div><b><br>
            </b></div>
          <div>
            <div><b>server {<span style="font-size: 12pt;">         </span></b></div>
            <div><b>                listen *;</b></div>
            <div><b>                location / {</b></div>
            <div><b>                        proxy_pass
                 <a class="moz-txt-link-freetext" href="http://appcluster">http://appcluster</a>;</b></div>
            <div><b>                        proxy_next_upstream error
                timeout http_404 http_500 http_502 http_503 http_504
                off;</b></div>
            <div><b>                        proxy_set_header  X-Real-IP
                 $remote_addr;</b></div>
            <div><b>                }</b></div>
            <div><b>}</b></div>
            <div><br>
            </div>
            <div><br>
            </div>
            Thanks,
            <div>Sandeep.</div>
            <br>
            <br>
            <div>> To: <a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
              > Subject: Re: Nginx upstream servers status<br>
              > From: <a class="moz-txt-link-abbreviated" href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a><br>
              > Date: Wed, 3 Jul 2013 01:11:20 -0400<br>
              > <br>
              > you allow 600 seconds to pass until you npotice, that
              your upstream-server <br>
              > is not responsible. <br>
              > <br>
              > ... max_fails=2 fail_timeout=300s;<br>
              > <br>
              > why?<br>
              > <br>
              > Posted at Nginx Forum:
              <a class="moz-txt-link-freetext" href="http://forum.nginx.org/read.php?2,240513,240515#msg-240515">http://forum.nginx.org/read.php?2,240513,240515#msg-240515</a><br>
              > <br>
              > _______________________________________________<br>
              > nginx mailing list<br>
              > <a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
              > <a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
    </blockquote>
    <br>
  </body>
</html>