I have this setting: an Nginx server with php-fpm and the http://blueimp.github.io/jQuery-File-Upload/

When I try to upload a file after about 10MB it fails. This happens when SPDY is activated. When SPDY is turned off upload works fine.

Is anyone aware of a workaround/fix for this issue?

  • Similar on Apache, The first upload fails for me, but the second works – exussum Sep 16 '14 at 12:04

have you tried Customizing the below section of your config., file


; File uploads
upload_max_filesize = 10M
post_max_size = 10M

Post which don't forget to the Restart PHP background processes:

sudo service php5-fpm restart

I'm not sure if your issue is really SPDY related. SPDY got two different timeouts. 1) For the Keepalive

spdy_keepalive_timeout 180s;

2) For expected Data

spdy_recv_timeout 30s;

Maybe the filesize is bigger than SPDY is expecting and you run into a timeout. You could try to raise the values.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.