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:
Willy Tarreau 2016-06-26 19:37:59 +02:00
parent 13d67bbef3
commit be1d34ded2

View File

@ -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"