upload progress

greenh greenh на gmail.com
Пн Ноя 29 14:48:11 MSK 2010


Подскажите плз
При попытке настроить upload_progress получаю вот такую ошибку

[emerg]: the size 1048576 of shared memory zone "proxied" conflicts
with already declared size 0 in /usr/local/etc/nginx/nginx.conf:51 the
size 1048576 of shared memory zone "proxied" conflicts with already
declared size 0 in /usr/local/etc/nginx/nginx.conf:51

куда смотреть?

user www www;
worker_processes 10;
worker_rlimit_nofile 32768;
pid /var/run/nginx.pid;
events {
worker_connections 32768;
use kqueue;
}

http {
default_type application/octet-stream;
client_header_timeout 60;
client_body_timeout 60;
send_timeout 120;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_buffer_size 8k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 256k;
proxy_buffering off;
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/css;
client_max_body_size 950m;
client_body_buffer_size 128k;
client_header_buffer_size 1k;
large_client_header_buffers 4 4k;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
output_buffers 1 32k;
postpone_output 1460;
lingering_time 30;

lingering_timeout 6;
reset_timedout_connection on;
keepalive_timeout 60;
optimize_server_names on;
server_names_hash_bucket_size 128;
include mime.types;
include virtual.conf;
upload_progress proxied 1m;

}

server {
listen xx.xx.xx:80;
server_name  xx.com;
root /home/greenh.info;
location / {proxy_pass http://127.0.0.1:80/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
client_max_body_size       500m;

}
location ^~ /admin/include/get_upload_status.php  {#
           report_uploads proxied;
}
location ~ /\.ht {deny all;}
}



Подробная информация о списке рассылки nginx-ru