# About "" "resume download" on reverse proxy mode

**URL:** <https://www.ruby-forum.com/t/about-resume-download-on-reverse-proxy-mode/209504>\
**Category:** NGINX\
**Created:** [July 15, 2011, 7:38am UTC](https://www.ruby-forum.com/t/about-resume-download-on-reverse-proxy-mode/209504 "2011-07-15T07:38:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [July 15, 2011, 7:38am UTC](https://www.ruby-forum.com/t/about-resume-download-on-reverse-proxy-mode/209504/1 "2011-07-15T07:38:00Z")

</div>

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
