Forgot to mention imporant information: we are using dockerized nginx, deployed in ECS cluster. Docker nginx image version is 1.11 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277101,277102#msg-277102