Christopher Faulet 554c0ebffd MEDIUM: http-rules: Support an optional error message in http deny rules
It is now possible to set the error message to use when a deny rule is
executed. It may be a specific error file, adding "errorfile <file>" :

  http-request deny deny_status 400 errorfile /etc/haproxy/errorfiles/400badreq.http

It may also be an error file from an http-errors section, adding "errorfiles
<name>" :

  http-request deny errorfiles my-errors  # use 403 error from "my-errors" section

When defined, this error message is set in the HTTP transaction. The tarpit rule
is also concerned by this change.
2020-01-20 15:18:46 +01:00
..
2019-05-25 07:34:24 +02:00
2006-06-15 21:48:13 +02:00
2006-06-15 21:48:13 +02:00
2019-05-25 07:34:24 +02:00
2019-05-25 07:34:24 +02:00
2019-05-25 07:34:24 +02:00
2019-05-25 07:34:24 +02:00
2019-05-25 07:34:24 +02:00