MEDIUM: checks: Add check-alpn.
Add a way to configure the ALPN used by check, with a new "check-alpn"
keyword. By default, the checks will use the server ALPN, but it may not
be convenient, for instance because the server may use HTTP/2, while checks
are unable to do HTTP/2 yet.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 822a5c5..d81cdcd 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -11569,6 +11569,11 @@
"check-send-proxy" option needs to be used to force the use of the
protocol. See also the "send-proxy" option for more information.
+check-alpn <protocols>
+ Defines which protocols to advertise with ALPN. The protocol list consists in
+ a comma-delimited list of protocol names, for instance: "http/1.1,http/1.0"
+ (without quotes). If it is not set, the server ALPN is used.
+
check-sni <sni>
This option allows you to specify the SNI to be used when doing health checks
over SSL. It is only possible to use a string to set <sni>. If you want to