Hi,
> Dumb question: what is the advantage of the proxy protocol for http (as > would be the case with varnish)? I assumed the proxy protocol was used > to enable load balancing of non-http protocols. It can be useful even when you are load-balancing http. Perhaps you don't want to touch the HTTP headers, because you would like to see the headers exactly as they come from the client. Perhaps you don't run HAProxy in a mode where it can insert the header in every request (http tunneling mode), or at all (in tcp mode). Perhaps your frontend proxy load-balances HTTPS in TCP mode, because you don't allow SSL termination on your first loadbalancing layer for scalability, security or policy reasons (recent question from the varnish mailing list [1]). I'm sure there are other use cases with HTTP(S) I forgot. Regards, Lukas [1] http://www.gossamer-threads.com/lists/varnish/misc/29128

