mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
DOC: configuration: update examples for req.ver
Update the documentation for the req.ver sample fetch. Could be backported as far as 2.6.
This commit is contained in:
parent
8547f5cfa2
commit
637306c86d
@ -22407,8 +22407,14 @@ req.hdr_names([<delim>]) : string
|
||||
req.ver : string
|
||||
req_ver : string (deprecated)
|
||||
Returns the version string from the HTTP request, for example "1.1". This can
|
||||
be useful for logs, but is mostly there for ACL. Some predefined ACL already
|
||||
check for versions 1.0 and 1.1.
|
||||
be useful for ACL. For logs use the "%HV" log variable. Some predefined ACL
|
||||
already check for versions 1.0 and 1.1.
|
||||
|
||||
Common values are "1.0", "1.1", "2.0" or "3.0".
|
||||
|
||||
In the case of http/2 and http/3, the value is not extracted from the HTTP
|
||||
version in the request line but is determined by the negociated protocol
|
||||
version.
|
||||
|
||||
ACL derivatives :
|
||||
req.ver : exact string match
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user