the picture of in external site does not display in revers proxy

quan nexthop quan.nexthop at gmail.com
Sun Nov 21 08:22:53 MSK 2010


Hi all:

I met  a problem and do a google search and find nothing.

1. The topology is :
  0) nginx actes as a reverse proxy for www.abc.com
  1) www.abc.com/index.html, it is embedded a picture in the index.html;
  2) The picture should get from att.ab.com/att.php?p.874.1578428.258.jpg.
  3) Access www.abc.com/index.html, the only issue is that the picture does
not display/

2. the configuration is as following:
             server {
                        listen 80;
                        server_name www.abc.com;

                        location / {
                                proxy_pass http://200.200.200.10;
                                proxy_redirect off;
                                proxy_buffering off;
                                proxy_set_header Host $host;
                                proxy_set_header X-Real-IP  $remote_addr;
                                proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
                                client_max_body_size 50m;
                                client_body_buffer_size 256k;
                        }

3. Anyone can give me some help?

I am very appreciated your help.
Thanks

NextHop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101120/9c901ad4/attachment-0001.html>


More information about the nginx mailing list