]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: peers: fix port number and addresses on new peers section format
authorEmeric Brun <ebrun@haproxy.com>
Mon, 30 May 2022 16:13:35 +0000 (18:13 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 31 May 2022 08:29:36 +0000 (10:29 +0200)
This patch fix the port number and addresses on the example
to match those of the old format.

This patch address the github issue #1492

This patch should be backported until version 2.0

doc/configuration.txt

index 9bb6e9a4b635770adac873c0abc61b51858fba09..0f2df0a8848a9b91402c6c61d54026b5783f3c98 100644 (file)
@@ -3381,10 +3381,11 @@ server <peername> [<ip>:<port>] [param*]
 
    Example:
      peers mypeers
-         bind 127.0.0.11:10001 ssl crt mycerts/pem
-         default-server ssl verify none
-         server hostA  127.0.0.10:10000
-         server hostB  #local peer
+        bind 192.168.0.1:1024 ssl crt mycerts/pem
+        default-server ssl verify none
+        server haproxy1 #local peer
+        server haproxy2 192.168.0.2:1024
+        server haproxy3 10.2.0.1:1024
 
 
 table <tablename> type {ip | integer | string [len <length>] | binary [len <length>]}