<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(C:\Program Files\Netease\网易闪电邮\\data\scrollbar.css); -->p{margin:0px;padding:0px;}; </STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em};                                                                         OL, UL{margin-Top: 0px; margin-Bottom: 0px};                                                                         p{margin-Top:0em; margin-Bottom:0px; padding:0px;};                                                                         body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;};                                                                         </STYLE>

<META name=GENERATOR content="MSHTML 9.00.8112.16430"><BASE target=_blank><BASE 
target=_blank></HEAD>
<BODY 
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
topMargin=10 marginwidth="0" marginheight="0"><STATIONERY>
<DIV>
<DIV><FONT color=#000000 size=3 face=宋体>Dear list,</FONT></DIV>
<DIV>I am testing nginx with reverse proxy mode.</DIV>
<DIV>I found that nginx download&nbsp;the file&nbsp;from upstream server to 
proxy_temp_path&nbsp;when I&nbsp;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.</DIV>
<DIV>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.</DIV>
<DIV>any configuration to limit it?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Another problem,&nbsp;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.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3 face=宋体></FONT>&nbsp;</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 
face=Verdana>2011-07-15</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>

<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>chinix</SPAN></FONT></DIV></FONT></DIV></STATIONERY></BODY></HTML>