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