about "large file" and "resume download" on reverse proxy mode

António P. P. Almeida appa at perusio.net
Fri Jul 15 16:48:56 MSD 2011


On 15 Jul 2011 06h39 WEST, chinix at gmail.com 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 http://wiki.nginx.org/HttpLimitReqModule and
http://wiki.nginx.org/HttpLimitZoneModule.

--- appa




More information about the nginx mailing list