Hi everyone
This is probably very easy but I thought I'd check I've got this right first.
On my web server, I want to display the original IP address of the client, not
the IP of the varnish server, in the error logs from the web server.
I've done some reading and found this example in the docs
sub vcl_recv {
# Add a unique header containing the client address
remove req.http.X-Forwarded-For;
set req.http.X-Forwarded-For = req.http.rlnclientipaddr;
Is that all I need to do?
Any help, greatly appreciated.
_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc