IP problem in backend of reverse proxy

Bertrand Caplet bertrand.caplet at okira.net
Wed Aug 8 21:21:36 UTC 2012


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 :
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
Thanks for the help,
Regards.
-- 
Bertrand Caplet
Tel. 02 33 35 20 94
Mob. 06 35 43 68 46
Web. blog.okira.net <http://blog.okira.net>
bertrand.caplet at okira.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120808/6af0df42/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sig-ecolo.gif
Type: image/gif
Size: 1988 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120808/6af0df42/attachment.gif>


More information about the nginx mailing list