]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: Fix typo in req.ssl_alpn example (commit 4afdd138424ab...)
authorJarno Huuskonen <jarno.huuskonen@uef.fi>
Thu, 3 Jan 2019 05:56:49 +0000 (07:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Jan 2019 13:02:26 +0000 (14:02 +0100)
Also link to ssl_fc_alpn.

doc/configuration.txt

index 97b9f82fa3b1cb46c6de1b2bbda4b831235dc175..abce3d7c15e763329a8acbc70381b19d06dab509 100644 (file)
@@ -15472,13 +15472,13 @@ req.ssl_alpn : string
   request buffer and not to the contents deciphered via an SSL data layer, so
   this will not work with "bind" lines having the "ssl" option. This is useful
   in ACL to make a routing decision based upon the ALPN preferences of a TLS
-  client, like in the example below.
+  client, like in the example below. See also "ssl_fc_alpn".
 
   Examples :
      # Wait for a client hello for at most 5 seconds
      tcp-request inspect-delay 5s
      tcp-request content accept if { req_ssl_hello_type 1 }
-     use_backend bk_acme if { req_ssl.alpn acme-tls/1 }
+     use_backend bk_acme if { req.ssl_alpn acme-tls/1 }
      default_backend bk_default
 
 req.ssl_ec_ext : boolean