<div dir="ltr">The version that is on the ubuntu servers was 1.10.xx. I just updated it to <div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">nginx version: nginx/1.13.8</span><div><div><br></div><div>And I am still having the same issue.</div></div></div><div><br></div><div>How do I "<span style="font-size:12.800000190734863px">Try to flush out some output early on so that nginx will know that Tomcat is alive."</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">The nginx and tomcat connection is working fine for all requests/responses that take less than 60 seconds.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 27, 2017 at 4:18 PM, Igal @ Lucee.org <span dir="ltr"><<a href="mailto:igal@lucee.org" target="_blank">igal@lucee.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
On 12/27/2017 2:03 PM, Wade Girard wrote:<br>
<blockquote type="cite">
<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></span>
Run: nginx -v<span class=""><br>
<br>
<blockquote type="cite">
<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></span>
Try to flush out some output early on so that nginx will know that
Tomcat is alive.<br>
<br>
<div class="m_4547557976248317813moz-signature">
<p>Igal Sapir
<br>
Lucee Core Developer
<br><span class="HOEnZb"><font color="#888888">
<a href="http://lucee.org/" target="_blank">Lucee.org</a></font></span></p>
</div>
<br>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Wade Girard</div><div><div>c: 612.363.0902</div></div></div></div></div></div></div>
</div>