mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-03 03:52:38 +00:00
DOC: add missing doc for http-request deny [deny_status <status>]
The feature was introduced in 1.6-dev2 by commit 108b1dd
("MEDIUM:
http: configurable http result codes for http-request deny") but the
doc was missing. Thanks to Cyril for noticing.
This must be backported into 1.6.
This commit is contained in:
parent
13d67bbef3
commit
be1d34ded2
@ -3512,7 +3512,8 @@ http-check send-state
|
||||
|
||||
See also : "option httpchk", "http-check disable-on-404"
|
||||
|
||||
http-request { allow | deny | tarpit | auth [realm <realm>] | redirect <rule> |
|
||||
http-request { allow | tarpit | auth [realm <realm>] | redirect <rule> |
|
||||
deny [deny_status <status>] |
|
||||
add-header <name> <fmt> | set-header <name> <fmt> |
|
||||
capture <sample> [ len <length> | id <id> ] |
|
||||
del-header <name> | set-nice <nice> | set-log-level <level> |
|
||||
@ -3547,8 +3548,10 @@ http-request { allow | deny | tarpit | auth [realm <realm>] | redirect <rule> |
|
||||
pass the check. No further "http-request" rules are evaluated.
|
||||
|
||||
- "deny" : this stops the evaluation of the rules and immediately rejects
|
||||
the request and emits an HTTP 403 error. No further "http-request" rules
|
||||
are evaluated.
|
||||
the request and emits an HTTP 403 error, or optionally the status code
|
||||
specified as an argument to "deny_status". The list of permitted status
|
||||
codes is limited to those that can be overridden by the "errorfile"
|
||||
directive. No further "http-request" rules are evaluated.
|
||||
|
||||
- "tarpit" : this stops the evaluation of the rules and immediately blocks
|
||||
the request without responding for a delay specified by "timeout tarpit"
|
||||
|
Loading…
Reference in New Issue
Block a user