BTW: NGINX has compiled the http_referer_module. <br><br>thanks <br><br><br><div class="gmail_quote">On Sat, Nov 20, 2010 at 9:22 PM, quan nexthop <span dir="ltr"><<a href="mailto:quan.nexthop@gmail.com">quan.nexthop@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all:<br><br>I met a problem and do a google search and find nothing. <br><br>1. The topology is :<br>
0) nginx actes as a reverse proxy for <a href="http://www.abc.com" target="_blank">www.abc.com</a><br> 1) <a href="http://www.abc.com/index.html" target="_blank">www.abc.com/index.html</a>, it is embedded a picture in the index.html;<br>
2) The picture should get from <a href="http://att.ab.com/att.php?p.874.1578428.258.jpg" target="_blank">att.ab.com/att.php?p.874.1578428.258.jpg</a>.<br> 3) Access <a href="http://www.abc.com/index.html" target="_blank">www.abc.com/index.html</a>, the only issue is that the picture does not display/<br>
<br>2. the configuration is as following:<br> server {<br> listen 80;<br> server_name <a href="http://www.abc.com" target="_blank">www.abc.com</a>;<br><br> location / {<br>
proxy_pass <a href="http://200.200.200.10" target="_blank">http://200.200.200.10</a>;<br> proxy_redirect off;<br> proxy_buffering off;<br>
proxy_set_header Host $host;<br>
proxy_set_header X-Real-IP $remote_addr;<br> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br> client_max_body_size 50m;<br>
client_body_buffer_size 256k;<br> }<br><br>3. Anyone can give me some help? <br><br>I am very appreciated your help. <br>Thanks<br><font color="#888888"><br>NextHop <br>
</font></blockquote></div><br>