Proxy module connection timeout during file upload

Gena Makhomed gmm at
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>, server: _, request: "POST /Cooperations/ HTTP/1.1",
t> upstream: ""

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;

Best regards,

More information about the nginx mailing list