From: Sébastien Gross Date: Thu, 8 Oct 2020 08:06:03 +0000 (+0200) Subject: DOC: Fix typos in configuration.txt X-Git-Tag: v2.3-dev6~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab8771285c90074c30b2c6584bb3682c0f734678;p=thirdparty%2Fhaproxy.git DOC: Fix typos in configuration.txt This patch fixes small typos and grammar in configuration.txt for the http-request return documentation. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 3b14e83a18..083f1f6005 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -5692,7 +5692,7 @@ http-request return [status ] [content-type ] default status code used for the response is 200. It can be optionally specified as an arguments to "status". The response content-type may also be specified as an argument to "content-type". Finally the response itself may - be defined. If can be a full HTTP response specifying the errorfile to use, + be defined. It can be a full HTTP response specifying the errorfile to use, or the response payload specifying the file or the string to use. These rules are followed to create the response : @@ -5733,14 +5733,14 @@ http-request return [status ] [content-type ] evaluated as a log-format string. With a "string" argument, it is considered as a raw string. - When the response is not based an errorfile, it is possible to appends HTTP + When the response is not based on an errorfile, it is possible to append HTTP header fields to the response using "hdr" arguments. Otherwise, all "hdr" arguments are ignored. For each one, the header name is specified in and its value is defined by which follows the log-format rules. Note that the generated response must be smaller than a buffer. And to avoid any warning, when an errorfile or a raw file is loaded, the buffer space - reserved to the headers rewriting should also be free. + reserved for the headers rewriting should also be free. No further "http-request" rules are evaluated.