# Upload module and fastcgi\_pass

**URL:** <https://www.ruby-forum.com/t/upload-module-and-fastcgi-pass/192696>\
**Category:** NGINX\
**Created:** [August 4, 2010, 8:29am UTC](https://www.ruby-forum.com/t/upload-module-and-fastcgi-pass/192696 "2010-08-04T08:29:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glen\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Post date:** [August 4, 2010, 8:29am UTC](https://www.ruby-forum.com/t/upload-module-and-fastcgi-pass/192696/1 "2010-08-04T08:29:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Glen\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Post date:** [August 4, 2010, 8:30am UTC](https://www.ruby-forum.com/t/upload-module-and-fastcgi-pass/192696/2 "2010-08-04T08:30:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Glen\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Post date:** [August 5, 2010, 1:54pm UTC](https://www.ruby-forum.com/t/upload-module-and-fastcgi-pass/192696/3 "2010-08-05T13:54:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Glen\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Post date:** [August 5, 2010, 1:58pm UTC](https://www.ruby-forum.com/t/upload-module-and-fastcgi-pass/192696/4 "2010-08-05T13:58:56Z")

</div>

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
