upload module and fastcgi_pass

Brice Figureau brice+nginx at daysofwonder.com
Thu Aug 5 15:53:34 MSD 2010


On 04/08/10 08:28, Glen Lumanau wrote:
>  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

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 Figureau



More information about the nginx mailing list