回复: Re: about "large file" and "resume download" on reverse proxy mode

Thank your reply.
But it is not for my question.
When the item isn’t cached(If it is very large over 1G,it would take a
long time to be cached),many normal users download it,then the proxy
server would download the item from upstream server with many
connections.

I seach the forum,found the same question:

Currently, there is no good way to handle this. Solution is
usually called “busy locks” (search list archives for details),
but it’s not ready yet.

Maxim D.

I am waiting for later version.
2011-07-16

chinix

发件人: António P. P. Almeida [email protected]
发送时间: 2011-07-15 20:49
主 题: Re: about “large file” and “resume download” on reverse proxy mode
收件人: [email protected]

On 15 Jul 2011 06h39 WEST, [email protected] wrote:

Dear list, I am testing nginx with reverse proxy mode. I
found that nginx download the file from upstream server to
proxy_temp_path when I download a file from the reverse proxy
server,if I stop and re-download,the nginx will download the file
from upstream server again,and so on. The problem is when a large
file on a site,someone could launch malicious multi-threaded
connections to attack the reverse proxy server and upstream server.
any configuration to limit it?

See Module ngx_http_limit_req_module and
http://wiki.nginx.org/HttpLimitZoneModule.

— appa


nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx