DOC: errloc/errorloc302/errorloc303 missing status codes.

errorloc/errorloc302/errorloc303 was missing some status codes that
haproxy can generate.
This commit is contained in:
Jarno Huuskonen 2017-04-22 11:26:50 +03:00 committed by Willy Tarreau
parent 95b012bb91
commit 013a84fe93

View File

@ -3160,7 +3160,8 @@ errorloc302 <code> <url>
yes | yes | yes | yes yes | yes | yes | yes
Arguments : Arguments :
<code> is the HTTP status code. Currently, HAProxy is capable of <code> is the HTTP status code. Currently, HAProxy is capable of
generating codes 200, 400, 403, 408, 500, 502, 503, and 504. generating codes 200, 400, 403, 405, 408, 429, 500, 502, 503, and
504.
<url> it is the exact contents of the "Location" header. It may contain <url> it is the exact contents of the "Location" header. It may contain
either a relative URI to an error page hosted on the same site, either a relative URI to an error page hosted on the same site,
@ -3191,7 +3192,8 @@ errorloc303 <code> <url>
yes | yes | yes | yes yes | yes | yes | yes
Arguments : Arguments :
<code> is the HTTP status code. Currently, HAProxy is capable of <code> is the HTTP status code. Currently, HAProxy is capable of
generating codes 400, 403, 408, 500, 502, 503, and 504. generating codes 200, 400, 403, 405, 408, 429, 500, 502, 503, and
504.
<url> it is the exact contents of the "Location" header. It may contain <url> it is the exact contents of the "Location" header. It may contain
either a relative URI to an error page hosted on the same site, either a relative URI to an error page hosted on the same site,