Skip to content

Commit

Permalink
Add Backend None Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwiik authored and bsdphk committed Oct 9, 2019
1 parent bba1499 commit 1d6d960
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/sphinx/reference/vcl.rst
Expand Up @@ -297,6 +297,12 @@ parameters. The following attributes are available:
Varnish reaches the maximum Varnish it will start failing
connections.

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.

Expand Down
3 changes: 3 additions & 0 deletions doc/sphinx/users-guide/vcl-backends.rst
Expand Up @@ -31,6 +31,9 @@ Varnish can have several backends defined you can even join
several backends together into clusters of backends for load balancing
purposes.

backends can also be empty or 'none' with the following syntax.::

backend default none;

Multiple backends
-----------------
Expand Down

0 comments on commit 1d6d960

Please sign in to comment.