<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: rgb(36, 39, 41); font-family: inherit; font-size: 15px; font-style: inherit; padding: 0px; border: 0px; line-height: inherit; vertical-align: baseline; clear: both;">
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.</p>
<p style="margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: rgb(36, 39, 41); font-family: inherit; font-size: 15px; font-style: inherit; padding: 0px; border: 0px; line-height: inherit; vertical-align: baseline; clear: both;">
<span style="font-family: inherit; font-style: inherit;">Want to know if there is any timeout on nginx server that I need to configure to keep the connection
</span><span style="font-family: inherit; font-style: inherit;">open for more than 60 seconds. </span><br>
</p>
<p style="margin-right: 0px; margin-bottom: 1em; margin-left: 0px; color: rgb(36, 39, 41); font-family: inherit; font-size: 15px; font-style: inherit; padding: 0px; border: 0px; line-height: inherit; vertical-align: baseline; clear: both;">
<span style="font-family: inherit; font-style: inherit;">Ajay</span><br>
</p>
</div>
</body>
</html>