504 gateway timeouts
Igal @ Lucee.org
igal at lucee.org
Wed Dec 27 22:18:42 UTC 2017
On 12/27/2017 2:03 PM, Wade Girard wrote:
> I am using nginx on an ubuntu server as a proxy to a tomcat server.
>
> The nginx server is setup for https.
>
> 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.
Run: nginx -v
>
> 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.
>
> What seemed to be the fix was adding the following to the nginx.conf file
>
> proxy_connect_timeout 600;
>
> proxy_send_timeout 600;
>
> proxy_read_timeout 600;
>
> send_timeout 600;
>
> in the location section for my proxy.
>
>
> However this same change in the ubuntu servers has no effect at all.
>
>
Try to flush out some output early on so that nginx will know that
Tomcat is alive.
Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171227/0fe64484/attachment.html>
More information about the nginx
mailing list