<div dir="ltr"><div>In our case, we needed to set proxy_http_version to 1.0 or 1.1 according to client, because the clients for http 1.0 could not proceed chunked encoding gzip through keep-alive connections correctly, but 'proxy_http_version' didn't help.</div><div><br></div><div>Finally we had this patch, and a simple test case for it, and I checked it under nginx-1.9.7. </div><div><br></div><div>Wish it helps.</div><div><br></div></div>