<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
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.<br>
I want the backends servers to have the IP of the "real" client in
their logs. I tried "proxy_set_header" like here :
<a class="moz-txt-link-freetext" href="https://help.ubuntu.com/community/Nginx/ReverseProxy">https://help.ubuntu.com/community/Nginx/ReverseProxy</a> but I doesn't
work.<br>
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 :
<a class="moz-txt-link-freetext" href="http://wiki.okira.net/w/Accueil">http://wiki.okira.net/w/Accueil</a><br>
Thanks for the help,<br>
Regards.<br>
<div class="moz-signature">-- <br>
Bertrand Caplet
<br>
Tel. 02 33 35 20 94
<br>
Mob. 06 35 43 68 46
<br>
Web. <a href="http://blog.okira.net">blog.okira.net</a>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:bertrand.caplet@okira.net">bertrand.caplet@okira.net</a>
<br>
<img src="cid:part2.08090406.04010104@okira.net"></div>
</body>
</html>