UNIX Sockets support ?

Jonas Pfenniger zimbatm at oree.ch
Wed Apr 4 12:35:40 CEST 2007


I just discovered Varnish and wanted to know if it supports proxying
to UNIX sockets. I've already looked in the man pages so I expect it's
not available.

The use case I would have for, is use varnish as a frontend on a
multiple-users webserver, where some paths are mapped to user-owned
file sockets. If classical sockets are used, I cannot guarantee that
user A won't take user B's port if user B's webserver crashes.

Example :
  proxy path ~ /~([\w_]) to /home/$1/web.socket


More information about the varnish-misc mailing list