mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-12 14:35:14 +00:00
a5afb0bf36
2 reg tests are added. The first one ensures the declaration of errors in a proxy is fonctionnal. It declares http-errors sections and declare error files using the errorfile and the errorfiles directives, both in the default section and the frontend sections. The second one ensures it is possible to use a custom error file for an HTTP deny rule.
10 lines
200 B
HTTP
10 lines
200 B
HTTP
HTTP/1.1 404 Not Found
|
|
Cache-Control: no-cache
|
|
Connection: close
|
|
Content-Type: text/html
|
|
x-err-type: errors-3
|
|
|