[Varnish] #1223: Talking to local backend via PF_LOCAL

Varnish varnish-bugs at varnish-cache.org
Fri Oct 26 02:33:15 CEST 2012

#1223: Talking to local backend via PF_LOCAL
 Reporter:  mi     |       Type:  enhancement
   Status:  new    |   Priority:  low
Milestone:         |  Component:  varnishd
  Version:  trunk  |   Severity:  minor
 Keywords:         |
 It would seem, running Varnish on the same host as the web-server is a
 fairly common use-case. Indeed, the pkg-message of FreeBSD's www/varnish
 explains how to quickly set up the proxy in such a manner, when one is
 getting slashdotted :-)

 However, the best currently-available way to set such coexistence up is
 via localhost.

 I'd like to suggest, Varnish allowed backends of the PF_LOCAL type. To
 start, it can simply treat backend.host as a local path, when the string
 begins with '/'.

 I started hacking up a patch, but got bogged down... Do others think, it
 may be a good idea?

 If Varnish offered such functionality, I may be able to hack Apache to
 allow it to "listen" on such ports and try to come up with some

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1223>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list