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

chinix chinix at gmail.com
Fri Jul 15 09:39:02 MSD 2011


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?

Another problem, when I pause and resume to download, and nginx has not finished download from upstream server,it would show the message:the server error.But when the file cached,it works fine.

Best


2011-07-15



chinix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110715/16236cd8/attachment.html>


More information about the nginx mailing list