containous / traefik-extra-service-fabric

Traefik extra: Service Fabric Provider
Apache License 2.0
12 stars 14 forks source link

Documentation request: Labels required to utilize Error Pages functionality #56

Open reddogaw opened 5 years ago

reddogaw commented 5 years ago

Hi, I notice that there's code in here related to error pages support in Traefik. However, I can't work out what the labels need to look like and the documentation on https://docs.traefik.io/configuration/backends/servicefabric/ hasn't got any extra information.

Can we please provide some information on the labels please?

AlexandruRus23 commented 5 years ago

Hi @reddogaw

These are the labels I use for defining the error pages configuration when backend return 503.

<Label Key="traefik.frontend.errors.503.status">503</Label>
<Label Key="traefik.frontend.errors.503.backend">fabric:/ErrorApplication/ErrorPages</Label>
<Label Key="traefik.frontend.errors.503.query">/503.html</Label>