Varnish client IP address not display

Jewel Nuruddin jewel.nuruddin at eastbeam.co.jp
Mon Mar 19 08:36:07 CET 2012


Hello
My varnish is run on 10.70.18.22 server and my web server run back  end
10.70.18.30
When client browse through varnish in my web server it always show varnish
IP(10.70.18.22)
But I want my web server should display client IP address.
I use the following configuration

sub vcl_fetch {

  remove obj.http.X-Varnish-IP;
  set    obj.http.X-Varnish-IP = server.ip;

}

It did not work for me.
Can some one please help me what should I do.

Thanks
Jewel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120319/0715bb11/attachment.html>


More information about the varnish-misc mailing list