]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[DOC] document the "dispatch" keyword
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Jun 2010 12:35:41 +0000 (14:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 08:41:27 +0000 (10:41 +0200)
This one was not documented !

doc/configuration.txt

index 490e7305b429d4f38b05b858f1fe0eabeb0e9eb2..240a54898069d33c3ba819048ba18c9ae7c5c5e1 100644 (file)
@@ -1761,6 +1761,29 @@ disabled
   See also : "enabled"
 
 
+dispatch <address>:<port>
+  Set a default server address
+  May be used in sections :   defaults | frontend | listen | backend
+                                 no    |    no    |   yes  |   yes
+  Arguments : none
+
+    <address> is the IPv4 address of the default server. Alternatively, a
+              resolvable hostname is supported, but this name will be resolved
+              during start-up.
+
+    <ports>   is a mandatory port specification. All connections will be sent
+              to this port, and it is not permitted to use port offsets as is
+              possible with normal servers.
+
+  The "disabled" keyword designates a default server for use when no other
+  server can take the connection. In the past it was used to forward non
+  persistent connections to an auxiliary load balancer. Due to its simple
+  syntax, it has also been used for simple TCP relays. It is recommended not to
+  use it for more clarity, and to use the "server" directive instead.
+
+  See also : "server"
+
+
 enabled
   Enable a proxy, frontend or backend.
   May be used in sections :   defaults | frontend | listen | backend