Proxy module connection timeout during file upload
gmm at csdoc.com
Tue Sep 8 22:15:35 MSD 2009
On Tuesday, September 8, 2009 at 20:45:28, tommy wrote:
t> I use nginx in front of apache using the proxy module.
t> I want to upload a 2 MB file which is then processed by apache+php.
t> Processing takes about 3 minutes. After aprox 71 to 75 seconds nginx terminates the connection.
t> 2009/09/08 19:28:18 6644#0: *1890 upstream prematurely closed
t> connection while reading response header from upstream, client:
t> 10.228.115.254, server: _, request: "POST /Cooperations/ HTTP/1.1",
t> upstream: "http://127.0.0.1:8060/Cooperations/"
no. this is apache prematurely terminates connection.
check apache error.log in /var/log/httpd/ for cause.
t> proxy_send_timeout 190;
t> proxy_read_timeout 190;
More information about the nginx