How do I get varnish to return in the http response header from which backend it took the response?

Posted by pzol on Server Fault See other posts from Server Fault or by pzol
Published on 2010-01-22T21:36:02Z Indexed on 2010/03/29 8:13 UTC
Read the original article Hit count: 247

Filed under:

I have three servers in the backend, with a round robin director.

I would like varnish to write a X-Server-By header with the name or ip of the server from which the response was fetched, how can this be done?

© Server Fault or respective owner

Related posts about varnish