add req.http.x-forwarded-for header
revirii at googlemail.com
Wed Feb 6 17:25:01 CET 2013
sorry for the last thread, i'm not really used to working with mailing
lists. I hope at least this message get's sorted properly...
thanks for your answer! I checked vcl_recv but couldn't find anything
relevant. And i don't think this is the problem, because:
nginx.https -> varnish
x-forwarded-for is logged in /var/log/varnish/varnish.log
x-forwarded-for isn't logged in /var/log/varnish/varnish.log
So this has to be a quite strange return statement that clears the
x-forwarded-for when the http request is received by varnish
externally, but leaves the header untouched when it's sent via nginx
(and this traffic is http as well).
I'll re-check the code again, but... :-/
More information about the varnish-misc