From be1d34ded235a8146c84ec44807e663348619c1f Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 26 Jun 2016 19:37:59 +0200 Subject: [PATCH] DOC: add missing doc for http-request deny [deny_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. --- doc/configuration.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 45e2e06d7..1a96edb65 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -3512,7 +3512,8 @@ http-check send-state See also : "option httpchk", "http-check disable-on-404" -http-request { allow | deny | tarpit | auth [realm ] | redirect | +http-request { allow | tarpit | auth [realm ] | redirect | + deny [deny_status ] | add-header | set-header | capture [ len | id ] | del-header | set-nice | set-log-level | @@ -3547,8 +3548,10 @@ http-request { allow | deny | tarpit | auth [realm ] | redirect | 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"