From 243b45881d5e9c53c83f60578d3f9b97d30e34b1 Mon Sep 17 00:00:00 2001 From: Timo Reimann Date: Thu, 14 Sep 2017 08:50:02 +0200 Subject: [PATCH] Document custom error page restrictions. --- docs/configuration/commons.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/configuration/commons.md b/docs/configuration/commons.md index 6a096f6f5..f46118210 100644 --- a/docs/configuration/commons.md +++ b/docs/configuration/commons.md @@ -242,6 +242,9 @@ Instead, the query parameter can also be set to some generic error page like so: Now the `500s.html` error page is returned for the configured code range. The configured status code ranges are inclusive; that is, in the above example, the `500s.html` page will be returned for status codes `500` through, and including, `599`. +Custom error pages are easiest to implement using the file provider. +For dynamic providers, the corresponding template file needs to be customized accordingly and referenced in the Traefik configuration. + ## Retry Configuration