works with PHP-FPM?
I'm trying to configure this module (0.8.3) in a pretty standard nginx (1.1.7) with PHP-FPM (5.3.8) installation, and the problem is that progress always returns:
{ "state" : "starting" }
even when the upload has finished. This is my conf:
location = /progress
{
upload_progress_json_output;
report_uploads uploads;
}
location ^~ /uploads
{
fastcgi_pass 127.0.0.1:9000;
try_files $uri /index.php?ctr=$uri&$args;
track_uploads uploads 5s;
}
Tested with an ultra basic HTML form and javascript, and double checked that X-Progress-ID value is sended right.
How big is the uploaded file? If your test is across a fast network (or localhost which is ultra-fast) you won't see anything, except if the uploads takes more than 10 seconds.
I suggest you compile nginx with --with-debug and activate the debug log, the upload-progress module logs a lot of thing including what happens during upload and progress probes.
@ferjgar did you get this working? I also am running similar setup....