<div dir="ltr"><span style="color:rgb(80,0,80);font-size:12.8000001907349px">Behind my web server is an application that doesn't include content-length</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px"><span style="color:rgb(80,0,80);font-size:12.8000001907349px">headers because it doesn't know what it is. I'm pretty sure this is an</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px"><span style="color:rgb(80,0,80);font-size:12.8000001907349px">application issue but I promised I'd come here and ask the question - is</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px"><span style="color:rgb(80,0,80);font-size:12.8000001907349px">there a way to have nginx buffer an entire server response and insert a</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px"><span style="color:rgb(80,0,80);font-size:12.8000001907349px">content-length header if none has been provided (i.e. by *-fpm, upstream</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px"><span style="color:rgb(80,0,80);font-size:12.8000001907349px">proxy, etc)?</span><br></div>