hi, when i use nginx as a forward prxoy, some page can not be downloaded successfully.<br>example:<br>http_proxy=ip:port wget -O test.html <a href="http://s1.ganjistatic1.com/css/base_ue3_house.__1276756225__.css">http://s1.ganjistatic1.com/css/base_ue3_house.__1276756225__.css</a> --header='Proxy-Connection: keep-alive' -S<br>
the received data length always less than response heade specificed length, so wget will retry again and again. <br>if use ie or firefox, the page load very slow, I guess the browser retry many times like wget.<br>but if not sent header 'Proxy-Connection: keep-alive', the page can be downloaded successfully.<br>
Any one has idea? <br>thanks.<br><br>the nginx config file:<br>server { # simple load balancing<br> listen 9681;<br> resolver 202.106.0.20;<br> location / {<br> proxy_pass http://$http_host$request_uri;<br>
}<br>}<br><br>the nginx version is 0.7.65-5 ,<br>os is debian Linux dev 2.6.30-1-amd64 <br><br clear="all"><br>