CLI
Use traefik [command] --help
for help on any command.
Commands:
version
Shows the current Traefik version.
Flag’s usage:
Flags are case insensitive.
Calls Traefik /ping
to check the health of Traefik. Its exit status is if Traefik is healthy and 1
otherwise.
This can be used with Docker HEALTHCHECK instruction or any other health check orchestration mechanism.
The must be enabled to allow the healthcheck
command to call /ping
.
Usage:
Example:
Usage: