In this case the client that closes connection is ELB with default 60 seconds. It doesn't really answer the question of why it holds the POST requests for so long. This doesn't happen for GET requests. Won't be able to test the debug logging output for next ~2 weeks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262308,262387#msg-262387