]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: doc: fix use-server example (imap vs mail)
authorLukas Tribus <luky-37@hotmail.com>
Sun, 26 Mar 2017 12:55:35 +0000 (12:55 +0000)
committerWilly Tarreau <w@1wt.eu>
Mon, 27 Mar 2017 14:06:57 +0000 (16:06 +0200)
Another minor doc issue in the use-server example, use-server refers
to server "imap", but the server below is actually called "mail".

Renames the server from "mail" to "imap".

doc/configuration.txt

index 3a02840cee81a4923f7a1be73132c7331c79f79e..09aaf1d0ca6be088602a0be5dd61b24ee9fbf459 100644 (file)
@@ -10069,7 +10069,7 @@ use-server <server> unless <condition>
      use-server mail if { req_ssl_sni -i mail.example.com }
      server     mail 192.168.0.1:587 weight 0
      use-server imap if { req_ssl_sni -i imap.example.com }
-     server     mail 192.168.0.1:993 weight 0
+     server     imap 192.168.0.1:993 weight 0
      # all the rest is forwarded to this server
      server  default 192.168.0.2:443 check