I have a java servlet environment that intentionally keeps an http connection open and sending data to a client. This connection is getting dropped after 50 seconds, I tried different settings in the nginx.conf file but none of those have worked.
I'm getting this error.
upstream timed out (110: Connection timed out) while reading response header from upstream, client: {Some IP}, server: , request: "GET /{some path} HTTP/1.1", upstream: "http://127.0.0.1:5000/", host: "sadfdsa.us-west-1.elb.amazonaws.com"