Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
progress
Помогите разобраться, пожалуйста.
Не работает прогресс бар. Выдает такой лог при загрузке файла:
[debug] 20147#0: *6 upload-progress: get_tracking_id found header:
9c67c2278196dcda2201b22b7e074cf3
[debug] 20147#0: *6 reportuploads handler found id:
9c67c2278196dcda2201b22b7e074cf3
[debug] 20147#0: *6 upload-progress: find_node 9c67c2278196dcda2201b22b7e074cf3
[debug] 20147#0: *6 upload-progress: can't find node
[debug] 20147#0: *6 reportuploads not found: 9c67c2278196dcda2201b22b7e074cf3
[debug] 20147#0: *6 reportuploads returning starting
[debug] 20147#0: *6 uploadprogress error-tracker error: 0
Nginx конфиг
http { ...
upload_progress proxied 1m;
...
server {
listen 80;
server_name my.site.ru www.my.site.ru;
root /var/www/staff;
error_log /var/log/nginx/error.log debug;
index imdex.html index.php;
if ($request_filename !~ (js|html|xml|mov|txt)) {
rewrite ^(.*)$ /index.php;
}
location /upload {
#proxy_pass http://127.0.0.1;
#proxy_redirect default;
fastcgi_pass 127.0.0.1:1026;
track_uploads proxied 30s;
client_max_body_size 500m;
}
location ^~ /progress {
report_uploads proxied;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:1026;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/staff$fastcgi_script_name;
include fastcgi_params;
}
}
|