varnish behind varnish and X-Forwarded-For

Jean-Christophe Petit jcpetit at syspark.com
Wed Nov 11 00:40:34 CET 2009


Hello,

setup is a varnish behind an other varnish - don't ask ;)
Is there a way to get the X-Forwarded-For from the first varnish to send 
it to the backend (Apache with mod_rpaf) ?
I see in the varnishlog of the second varnish that there are 2 
X-Forwarded-For (the client IP and the varnish IP)
How would I get rid of the second X-Forward-For but not the first one 
(the client IP) ?

Thanks,

Jesse



More information about the varnish-misc mailing list