Thanks for your answer. I use the same application on AWS (With ELB support least_conn) and my java app is working properly. Is there any way to solve this issue on Nginx side ? Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295575,295580#msg-295580