]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: refer to check-sni in the documentation of sni
authorJérôme Magnin <jmagnin@haproxy.com>
Sun, 9 Dec 2018 15:03:40 +0000 (16:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 Dec 2018 04:21:02 +0000 (05:21 +0100)
Make it obvious in the description of the sni directive that it can
not be used for health checks, and refer to the appropriate directive.

This can be backported to 1.8 as check-sni appeared in 1.8.

doc/configuration.txt

index e6e54810885906bb54d793cd39060db463b63859..18fcf9604094c5854aab2fa52cc8d53193c5f6e7 100644 (file)
@@ -12166,7 +12166,8 @@ sni <expression>
   expression, though alternatives such as req.hdr(host) can also make sense. If
   "verify required" is set (which is the recommended setting), the resulting
   name will also be matched against the server certificate's names. See the
-  "verify" directive for more details.
+  "verify" directive for more details. If you want to set a SNI for health
+  checks, see the "check-sni" directive for more details.
 
 source <addr>[:<pl>[-<ph>]] [usesrc { <addr2>[:<port2>] | client | clientip } ]
 source <addr>[:<port>] [usesrc { <addr2>[:<port2>] | hdr_ip(<hdr>[,<occ>]) } ]