uploadprogress
Vladimir Getmanshchuk
vladget at openfilm.com
Mon Apr 6 21:22:52 MSD 2009
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 at selfip.ru>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 at selfip.ru>
> Selfip.Ru
>
>
>
--
Yours sincerely,
Vladimir Getmanshchuk
Senior Unix System Administrator
Openfilm, LLC
Email: vladget at openfilm.com
Skype: vladimir.getmanshchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20090406/d30d64d9/attachment.html>
More information about the nginx-ru
mailing list