Welcome! Log In Create A New Profile

Advanced

NGINX closes the upstream connection in 60 seconds

Ajay Sonawane
April 26, 2018 06:30AM
I am using Nginx proxy server as a reverse proxy and https load balancer. Client connects to backend server through the reverse proxy in a load balanced environment. I have setup the correct https configuration (with ssl certificates and all) so that my ssl communication is going through proxy. In my case, server gracefully disconnect connection after 120 seconds (IDLE TIMEOUT of my server). But before that, nginx proxy itself closes after 60 seconds. This happens for every connect cycle. Due to which my client don't get ssl disconnect event and just receives tcp socket close event. If I change the IDLE_TIMEOUT of my server less than 60 seconds, everything works fine..

Want to know if there is any timeout on nginx server that I need to configure to keep the connection open for more than 60 seconds.

Ajay
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX closes the upstream connection in 60 seconds

Ajay Sonawane April 26, 2018 06:30AM

Re: NGINX closes the upstream connection in 60 seconds

wickedhangover April 26, 2018 08:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 282
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready