# IP problem in backend of reverse proxy

**URL:** <https://www.ruby-forum.com/t/ip-problem-in-backend-of-reverse-proxy/222086>\
**Category:** NGINX\
**Created:** [August 11, 2012, 1:47am UTC](https://www.ruby-forum.com/t/ip-problem-in-backend-of-reverse-proxy/222086 "2012-08-11T01:47:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 11, 2012, 1:47am UTC](https://www.ruby-forum.com/t/ip-problem-in-backend-of-reverse-proxy/222086/1 "2012-08-11T01:47:05Z")

</div>

Hi,  
I’ve installed a reverse proxy with nginx. And I have 2 backends  
webservers (one nginx and one apache), i’m hosting MediaWiki on it.  
I want the backends servers to have the IP of the “real” client in their  
logs. I tried “proxy\_set\_header” like here :  
[Nginx/ReverseProxy - Community Help Wiki](https://help.ubuntu.com/community/Nginx/ReverseProxy) but I doesn’t work.  
In the logs and on the server it display the IP of the reverse proxy  
(127.0.0.1 or 87.106.165.190) Test if you want :  
[http://wiki.okira.net/w/Accueil](http://wiki.okira.net/w/Accueil)  
Thanks for the help,  
Regards.
