Passing HttpUploadProgressModule path to configure

Hi

I am tying to install HttpUploadProgressModule. It works well,
but (probalby due to some misconfiguration) it stores data in
/usr/html/progress,
and complains if it doesn’t exists. What should i set additionaly to
change this path?

Current configure options:

./configure --prefix=/usr
–conf-path=/etc/nginx/nginx.conf
–http-fastcgi-temp-path=/var/lib/nginx/fastcgi
–pid-path=/var/run/nginx.pid
–http-proxy-temp-path=/var/lib/nginx/proxy
–http-client-body-temp-path=/var/lib/nginx/body
–error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log
–with-http_stub_status_module
–add-module=/root/nginx/nginx-upload-progress-module/

nginx 0.8.52

Thanks

On Thu, Oct 07, 2010 at 01:39:58AM +0200, Maciej Dziardziel wrote:

./configure --prefix=/usr
nginx 0.8.52
Could you show your configuration file.


Sergey A. Osokin
[email protected]

nginx.conf:

user www-data;
worker_processes 1;

error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
# multi_accept on;
}

http {
include /etc/nginx/mime.types;

access_log  /var/log/nginx/access.log;

sendfile        on;
#tcp_nopush     on;

#keepalive_timeout  0;
keepalive_timeout  65;
tcp_nodelay        on;

gzip  on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";

proxy_cache_path  /var/cache/nginx/mydomain levels=1:2

keys_zone=mydomain:8m max_size=1000m inactive=600m;

upload_progress proxied 60m;
upload_progress_content_type “application/json”;
upload_progress_json_output;

server {
listen 8001;
default_type application/octet-stream;

    server_name  stage.mydomain.pl www.stage.mydomain.pl;

    access_log  /var/log/vhosts/mydomain_stage/nginx_access.log;

    error_log   /var/log/vhosts/mydomain_stage/nginx_error.log crit;


    location / {

            proxy_pass      http://www.stage.mydomain.pl/;

proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffers 32 4k;

            proxy_buffering off;
            proxy_max_temp_file_size 0;
            client_max_body_size 5m;

            #upload progress tracking requires

NginxHttpUploadProgressModule, available on github
track_uploads proxied 6000s;
}

    location /s/form/File/progress {
            report_uploads proxied;
    }

    location /file {
            proxy_pass      http://www.stage.mydomain.pl/file;

            include         /etc/nginx/proxy.conf;
            proxy_cache mydomain_stage;
            proxy_cache_valid  200 302  7d;
            proxy_cache_valid  404      10m;
            proxy_temp_path /var/cache/nginx/mydomain_stage/tmp;
     }

    location /images {
            root /var/www/mydomain_stage/web;
            expires 7d;
            #access_log off;
    }

}

}

On Thu, 2010-10-07 at 01:39 +0200, Maciej Dziardziel wrote:

I am tying to install HttpUploadProgressModule. It works well,
but (probalby due to some misconfiguration) it stores data in
/usr/html/progress,
and complains if it doesn’t exists. What should i set additionaly to
change this path?

The upload progress module doesn’t store anything.
Can you show us the exact error message?

Brice F.
My Blog: http://www.masterzen.fr/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs