ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uploadprogress



wget'ÉÍ É ÒÁÚ'tar'É×ÁÅÍ nginx_upload_module × /usr/ports/www/nginx/nginx_upload_module É nginx_uploadprogress_module × /usr/ports/www/nginx/nginx_uploadprogress_module

cd /usr/ports/www/nginx/
make fetch && make extract

cd work/nginx-0.6.35

./configure --prefix=/usr/local/etc/nginx --with-cc-opt=-I /usr/local/include --with-ld-opt=-L /usr/local/lib --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log --user=www --group=www --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-log-path=/var/log/nginx-access.log --with-http_flv_module --add-module=/usr/ports/www/nginx/nginx_upload_module --add-module=/usr/ports/www/nginx/nginx_uploadprogress_module --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module

make && make install

÷ÓÅ ÒÁÂÏÔÁÅÔ.

On Wed, Apr 1, 2009 at 11:22 PM, Vasiliy G Tolstov <v.tolstov@xxxxxxxxx> wrote:
On Wed, 2009-04-01 at 17:44 +0300, Vladimir Getmanshchuk wrote:
> ÷ÓÅ ÌÉ ÔÁË?
> http {
> ...
> upload_progress proxied 1m;
> ...
> š š server {
> š š š š ...
> š š š š location / {
> š š š š š š ...
> š š š š š š track_uploads proxied 1s;
> š š š š š š ...
> š š š š }
> š š š š location ^~ /progress {
> š š š š š š report_uploads proxied;
> š š š š }
> š š š š š...
> }
>
> åÓÌÉ ×ÓÅ ÔÁË, ÔÏ ÐÏËÁÖÉ output ÏÔ make | grep upload && make install |
> grep upload
>

ÎÁ ÕÒÏ×ÎÅ http {
upload_progress proxied 2m;
}
ÎÁ ÕÒÏ×ÎÅ server {
location / {
track_uploads proxied 30s;
}
šlocation ~ /progress {
š šreport_uploads proxied;
š}

}

selfip nginx-0.7.46 # make | grep upload && make install | grep upload
š š š š š š š š-o
objs/addon/ngx_uploadprogress_module/ngx_http_uploadprogress_module.o \
š š š š š š š šmodules/ngx_uploadprogress_module/ngx_http_uploadprogress_module.c
š š š šobjs/addon/ngx_uploadprogress_module/ngx_http_uploadprogress_module.o \


--
Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Selfip.Ru





--
Yours sincerely,
Vladimir Getmanshchuk

Senior Unix System Administrator
Openfilm, LLC

Email: vladget@xxxxxxxxxxxx
Skype: vladimir.getmanshchuk



 




Copyright © Lexa Software, 1996-2009.