<div dir="ltr"><div><div><div><div><div><div><div>Hi All,<br><br></div>I have a below setup:<br><br></div>netcat client (nc localhost 8081) =====>nginx server(8081) with tcp_proxy module=====>2 netcat servers(8031 and 8032)<br>
<br>$ nc localhost 8081<br>biiiiiiiiiiiiiiiiii<br><br>$ nc -lk 8031<br>biiiiiiiiiiiiiiiiii<br><br>$ nc -lk 8032<br><br><br></div>If I kill the process $ nc -lk 8031, the client is also getting killed.<br><br></div>I expect the nginx server would read 0 bytes upon closing the connection to 8031 server and it detects the server failover and it establishes the connection to 8032 server so that the clients won't experience any downtime. Since the client establishes connection to only nginx at 8081, it should be shielded from failover of 8031 server.<br>
<br></div>Can anyone please help me if my understanding is wrong ??<br><br></div>Thanks<br></div>Eswar Rao<br><div><div><div><br></div></div></div></div>