masterzen/nginx-upload-progress-module — Issue #19: works with PHP-FPM?
Author: ferjgar
Created: 2011-12-27 16:09:07+00:00
State: open

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.