# The picture of in external site does not display in revers proxy

**URL:** <https://www.ruby-forum.com/t/the-picture-of-in-external-site-does-not-display-in-revers-proxy/199435>\
**Category:** NGINX\
**Created:** [November 21, 2010, 6:24am UTC](https://www.ruby-forum.com/t/the-picture-of-in-external-site-does-not-display-in-revers-proxy/199435 "2010-11-21T06:24:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [November 21, 2010, 6:24am UTC](https://www.ruby-forum.com/t/the-picture-of-in-external-site-does-not-display-in-revers-proxy/199435/1 "2010-11-21T06:24:16Z")

</div>

Hi all:

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

1. The topology is :

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

1. the configuration is as following：  
server {  
listen 80;  
server\_name [www.abc.com](http://www.abc.com);

$remote\_addr;  
proxy\_set\_header X-Forwarded-For  
$proxy\_add\_x\_forwarded\_for;  
client\_max\_body\_size 50m;  
client\_body\_buffer\_size 256k;  
}

1. Anyone can give me some help?

I am very appreciated your help.  
Thanks

NextHop

---

<div class="post-metadata">

**Author:** ![quan\_nexthop](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/7feea3/32.png) [@quan\_nexthop](https://www.ruby-forum.com/u/quan_nexthop)\
**Post date:** [November 21, 2010, 6:29am UTC](https://www.ruby-forum.com/t/the-picture-of-in-external-site-does-not-display-in-revers-proxy/199435/2 "2010-11-21T06:29:16Z")

</div>

BTW: NGINX has compiled the http\_referer\_module.

thanks

---

<div class="post-metadata">

**Author:** ![quan\_nexthop](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/7feea3/32.png) [@quan\_nexthop](https://www.ruby-forum.com/u/quan_nexthop)\
**Post date:** [November 21, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/the-picture-of-in-external-site-does-not-display-in-revers-proxy/199435/3 "2010-11-21T15:18:17Z")

</div>

Anyone can give a help ?

thanks  
NextHop
