DOC: configuration: http-check expect example typo

On the http-check expect example
(https://docs.haproxy.org/dev/configuration.html#4.2-http-check%20expect)
there is a typo

-http-check expect header name "set-cookie" value -m beg "sessid="
+http-check expect hdr name "set-cookie" value -m beg "sessid="
This commit is contained in:
Tom Braarup 2026-02-26 12:30:21 +00:00 committed by William Lallemand
parent b6e28bb4d7
commit b837b2b86c

View File

@ -8263,7 +8263,7 @@ http-check expect [min-recv <int>] [comment <msg>]
http-check expect status 200,201,300-310
# be sure a sessid coookie is set
http-check expect header name "set-cookie" value -m beg "sessid="
http-check expect hdr name "set-cookie" value -m beg "sessid="
# consider SQL errors as errors
http-check expect ! string SQL\ Error