<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 12/27/2017 2:03 PM, Wade Girard wrote:<br>
    <blockquote type="cite"
cite="mid:CANKWP05kke_SphKpRNMnn5pT5_M+Gk18uUWwDiuitmzGeXUiSQ@mail.gmail.com">
      <div dir="ltr">I am using nginx on an ubuntu server as a proxy to
        a tomcat server.
        <div><br>
        </div>
        <div>The nginx server is setup for https.</div>
        <div><br>
        </div>
        <div>I don't know how to determine what version of nginx I am
          using, but I install it on the ubuntu 1.16 server using
          apt-get.</div>
      </div>
    </blockquote>
    Run:  nginx -v<br>
    <br>
    <blockquote type="cite"
cite="mid:CANKWP05kke_SphKpRNMnn5pT5_M+Gk18uUWwDiuitmzGeXUiSQ@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>I have an issue that I have resolved locally on my Mac
          (using version 1.12 of nginx and Tomcat 7) where requests
          through the proxy that take more than 60 seconds were failing,
          they are now working.</div>
        <div><br>
        </div>
        <div>What seemed to be the fix was adding the following to the
          nginx.conf file</div>
        <div>
          <p
style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              style="font-variant-ligatures:no-common-ligatures">proxy_connect_timeout
                    600;</span></p>
          <p
style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              style="font-variant-ligatures:no-common-ligatures">       
              proxy_send_timeout          600;</span></p>
          <p
style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              style="font-variant-ligatures:no-common-ligatures">       
              proxy_read_timeout          600;</span></p>
          <p
style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              style="font-variant-ligatures:no-common-ligatures">       
              send_timeout                600;</span></p>
          <p
style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              style="font-variant-ligatures:no-common-ligatures">in the
              location section for my proxy.</span></p>
          <p
style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              style="font-variant-ligatures:no-common-ligatures"><br>
            </span></p>
          <p
style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              style="font-variant-ligatures:no-common-ligatures">However
              this same change in the ubuntu servers has no effect at
              all.</span></p>
        </div>
        <div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    Try to flush out some output early on so that nginx will know that
    Tomcat is alive.<br>
    <br>
    <div class="moz-signature">
      <p>Igal Sapir
        <br>
        Lucee Core Developer
        <br>
        <a href="http://lucee.org/">Lucee.org</a></p>
    </div>
    <br>
    <br>
  </body>
</html>