[master] 1d6d96060 Add Backend None Documentation

Poul-Henning Kamp phk at FreeBSD.org
Wed Oct 9 10:33:06 UTC 2019

commit 1d6d96060f1d8434199ff4b1dd738878267806c7
Author: Andrew Wiik <andrew at varnish-software.com>
Date:   Mon Oct 7 20:28:19 2019 -0400

    Add Backend None Documentation

diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 1fc2395fb..df8399c61 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -297,6 +297,12 @@ parameters. The following attributes are available:
     Varnish reaches the maximum Varnish it will start failing
+Empty backends can also be defined using the following syntax.::
+  backend name none;
+An empty backend will always return status code 503 as if it is sick.
 Backends can be used with *directors*. Please see the
 :ref:`vmod_directors(3)` man page for more information.
diff --git a/doc/sphinx/users-guide/vcl-backends.rst b/doc/sphinx/users-guide/vcl-backends.rst
index 24d0dec7d..d4fe87763 100644
--- a/doc/sphinx/users-guide/vcl-backends.rst
+++ b/doc/sphinx/users-guide/vcl-backends.rst
@@ -31,6 +31,9 @@ Varnish can have several backends defined you can even join
 several backends together into clusters of backends for load balancing
+backends can also be empty or 'none' with the following syntax.::
+    backend default none;
 Multiple backends

More information about the varnish-commit mailing list