Upload module and fastcgi_pass

Hello guys,

I need to run nginx upload progress module, however I got problem with
fastcgi_pass

here’s my config

server {
listen 192.168.1.6:81;
client_max_body_size 15m;
client_body_buffer_size 128k;
root /home/mysite/public_html;

     location / {
             root /home/delta/dev;
             index index.php index.html;
             expires 7d;
             try_files $uri $uri/ /index.php?$uri;
     }

     location ^~ /progress {
             report_uploads proxied;
     }

     location ~ \.php$ {
             include /etc/nginx/conf/fastcgi_params;
             fastcgi_pass 127.0.0.1:9000;
             track_uploads proxied 30s;
             fastcgi_connect_timeout 600;
             fastcgi_read_timeout    600;
             fastcgi_param REQUEST_URI $request_uri;
             fastcgi_param QUERY_STRING $query_string;
             fastcgi_param REQUEST_METHOD $request_method;
             fastcgi_param CONTENT_TYPE $content_type;
             fastcgi_param CONTENT_LENGTH $content_length;
             fastcgi_param  SCRIPT_FILENAME 

/home/delta/dev/index.php;
}

the progress module is not working

Sorry I mean the progress bar is not working…

Also if using firefox, my firefox load is getting high. works fine in
IE, Opera, and Google Chrome

On 04/08/10 08:28, Glen L. wrote:

    client_body_buffer_size      128k;
            report_uploads proxied;
            fastcgi_param REQUEST_METHOD $request_method;
            fastcgi_param CONTENT_TYPE $content_type;
            fastcgi_param CONTENT_LENGTH $content_length;
            fastcgi_param  SCRIPT_FILENAME  /home/delta/dev/index.php;
    }

the progress module is not working

Why do you think the module doesn’t work?
Do you have any evidence that it’s an issue in the module itself?
Could it be the javascript you are using or any other application?

Also, please give us the version number of nginx and the upload progress
module.

Please compile nginx with --with-debug and try again, then send me the
full log to see if there is any issue with the module.

Brice F.

Here’s the information

nginx version: nginx/0.8.47
configure arguments: --prefix=/etc/nginx
–add-module=/usr/local/src/nginx-upload-progress-module/
–add-module=/usr/local/src/ngx_http_secure_download/ --with-debug

I use the same javascript from the example.

I tried to use the proxy_pass as in the example, but if using firefox,
the firefox load is getting high