]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: Fix send rules in the http-check connect example
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 29 Apr 2020 12:19:13 +0000 (14:19 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 29 Apr 2020 12:19:15 +0000 (14:19 +0200)
Method, uri and version arguments must be explicitly named.

doc/configuration.txt

index 12582d9f2de5787c36bafcbafad0b97dc1120788..df06d85ab42e1bf1dd92c589d9dccfe1e1c2f19c 100644 (file)
@@ -4472,10 +4472,10 @@ http-check connect [default] [port <expr>] [addr <ip>] [send-proxy]
          option httpchk
 
          http-check connect
-         http-check send GET / HTTP/1.1 hdr host haproxy.1wt.eu
+         http-check send meth GET uri / ver HTTP/1.1 hdr host haproxy.1wt.eu
          http-check expect status 200-399
          http-check connect port 443 ssl sni haproxy.1wt.eu
-         http-check send GET / HTTP/1.1 hdr host haproxy.1wt.eu
+         http-check send meth GET uri / ver HTTP/1.1 hdr host haproxy.1wt.eu
          http-check expect status 200-399
 
          server www 10.0.0.1 check port 80