I am getting a lot of errors in the Nginx logs like the below lines.
2017/08/17 06:06:43 [error] 6233#6233: *1999792 upstream timed out (110: Connection timed out) while connecting to upstream, client: 192.168.4.24, server: cmdc
I actually followed this StackOverflow link nginx close upstream connection after request and added the below parameters in the Nginx config.
proxy_http_version 1.1;
proxy_set_header Connection "";
But still, i am getting a lot of errors. Can someone please help me here?