From 425b53585a105cacbd070999365727a7cc4973cf Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 1 Sep 2017 10:06:08 +0200 Subject: [PATCH] doc: fix error pages configuration. --- docs/basics.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/basics.md b/docs/basics.md index e57c280ec..567869d34 100644 --- a/docs/basics.md +++ b/docs/basics.md @@ -404,14 +404,14 @@ Here is an example of backends and servers definition: Custom error pages can be returned, in lieu of the default, according to frontend-configured ranges of HTTP Status codes. In the example below, if a 503 status is returned from the frontend "website", the custom error page at http://2.3.4.5/503.html is returned with the actual status code set in the HTTP header. -Note, the 503.html page itself is not hosted on traefik, but some other infrastructure. +Note, the `503.html` page itself is not hosted on traefik, but some other infrastructure. ```toml [frontends] [frontends.website] backend = "website" - [errors] - [error.network] + [frontends.website.errors] + [frontends.website.errors.network] status = ["500-599"] backend = "error" query = "/{status}.html"