[master] 8cf5d29 Document varnishd -b /path/to/uds in varnishd(1).

Geoff Simmons geoff at uplex.de
Mon Mar 12 14:04:10 UTC 2018


commit 8cf5d29739fc69efc6f146b581e6664bf6ff5994
Author: Geoff Simmons <geoff at uplex.de>
Date:   Mon Mar 12 15:02:38 2018 +0100

    Document varnishd -b /path/to/uds in varnishd(1).

diff --git a/doc/sphinx/reference/varnishd.rst b/doc/sphinx/reference/varnishd.rst
index a70d2df..9651e1d 100644
--- a/doc/sphinx/reference/varnishd.rst
+++ b/doc/sphinx/reference/varnishd.rst
@@ -15,7 +15,7 @@ HTTP accelerator daemon
 SYNOPSIS
 ========
 
-varnishd [-a [name=][address][:port][,PROTO][,user=<user>][,group=<group>][,mode=<mode>]] [-b host[:port]] [-C] [-d] [-F] [-f config] [-h type[,options]] [-I clifile] [-i identity] [-j jail[,jailoptions]] [-l vsl] [-M address:port] [-n name] [-P file] [-p param=value] [-r param[,param...]] [-S secret-file] [-s [name=]kind[,options]] [-T address[:port]] [-t TTL] [-V] [-W waiter]
+varnishd [-a [name=][address][:port][,PROTO][,user=<user>][,group=<group>][,mode=<mode>]] [-b [host[:port]|path]] [-C] [-d] [-F] [-f config] [-h type[,options]] [-I clifile] [-i identity] [-j jail[,jailoptions]] [-l vsl] [-M address:port] [-n name] [-P file] [-p param=value] [-r param[,param...]] [-S secret-file] [-s [name=]kind[,options]] [-T address[:port]] [-t TTL] [-V] [-W waiter]
 
 varnishd [-x parameter|vsl|cli|builtin|optstring]
 
@@ -61,11 +61,17 @@ Basic options
   Multiple listening addresses can be specified by using different
   -a arguments.
 
--b <host[:port]>
+-b <[host[:port]|path]>
 
   Use the specified host as backend server. If port is not specified,
-  the default is 8080. -b can be used only once, and not together with
-  -f.
+  the default is 8080.
+
+  If the value of ``-b`` begins with ``/``, it is interpreted as the
+  absolute path of a Unix domain socket to which Varnish connects. In
+  that case, the value of ``-b`` must satisfy the conditions required
+  for the ``.path`` field of a backend declaration, see :ref:`vcl(7)`.
+
+  -b can be used only once, and not together with f.
 
 -f config
 


More information about the varnish-commit mailing list