• Ping
    • Configuration Examples
    • Configuration Options
      • entryPoint

    Ping

    Checking the Health of Your Traefik Instances

    Configuration Examples

    To enable the API handler:

    1. [ping]
    1. ping: {}
    1. --ping=true

    Configuration Options

    The /ping health-check URL is enabled with the command-line —ping or config file option [ping].

    You can customize the entryPoint where the /ping is active with the entryPoint option (default value: traefik)

    PathMethodDescription
    /pingGET, HEADA simple endpoint to check for Traefik process liveness. Return a code 200 with the content: OK

    entryPoint

    Enabling /ping on a dedicated EntryPoint.

    1. [entryPoints]
    2. [entryPoints.ping]
    3. address = ":8082"
    4. [ping]
    5. entryPoint = "ping"
    1. entryPoints:
    2. ping:
    3. address: ":8082"
    4. ping:
    5. entryPoint: "ping"
    1. --entryPoints.ping.address=":8082"
    2. --ping.entryPoint="ping"