Retry

    The Retry middleware is in charge of reissuing a request a given number of times to a backend server if that server does not reply.To be clear, as soon as the server answers, the middleware stops retrying, regardless of the response status.

    1. apiVersion: traefik.containo.us/v1alpha1
    2. metadata:
    3. name: test-retry
    4. retry:
    5. attempts: 4

    1. "traefik.http.middlewares.test-retry.retry.attempts": "4"

    1. # Retry to send request 4 times
    2. [http.middlewares]
    3. [http.middlewares.test-retry.retry]

    Configuration Options

    The option defines how many times the request should be retried.