When uploading large files (>150Mb) , progress bar shows normal till
100% value, but in the end of upload process he does not send “done”
response, and looks like this :
and after few seconds (~30s) “504 gateway time out” error is
showing.
The host config looks like the one in the UploadProgressModule example,
other vars nginx.conf vars:
client_max_body_size 900m;
keepalive_timeout 70 30;
send_timeout 30s;
and after few seconds (~30s) “504 gateway time out” error is
showing.
That’s strange. Can you please compile nginx with --with-debug, then
activate the debug log and upload agin the same file.
Then send me privately the compressed log file so that I can analyze it.
One possibility is that your upstream is not slurping the file quickly
enough and then nginx timeouts. The upload progress module will report
the upload done only when the upstream finally gets it (which is usually
fast because on LAN or localhost).