Mailing List Archive

UNIX Sockets support ?
Hello,

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

--
Cheers,
zimbatm
UNIX Sockets support ? [ In reply to ]
In message <e3caf1460704040335p6798b3a6m298733eb4cfc9e5e at mail.gmail.com>, "Jona
s Pfenniger" writes:
>Hello,
>
>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.

Right now: no.

Can we do it ? Sure.

Can I get you to open a trac-ticket on our web-page where you
describe how you would like to see it work ?

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.