Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

works with PHP-FPM? #19

Open
ferjgar opened this issue Dec 27, 2011 · 2 comments
Open

works with PHP-FPM? #19

ferjgar opened this issue Dec 27, 2011 · 2 comments

Comments

@ferjgar
Copy link

ferjgar commented Dec 27, 2011

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.

@masterzen
Copy link
Owner

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.

@thomascrown
Copy link

@ferjgar did you get this working? I also am running similar setup....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants