1
0
Fork 0

Add url option to healthcheck command

This commit is contained in:
Nelson Isioma 2025-06-24 09:56:09 +01:00 committed by GitHub
parent 9bd5c61782
commit 56a95d6c16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 29 additions and 3 deletions

View file

@ -27,6 +27,16 @@ $ traefik healthcheck
OK: http://:8082/ping
```
### URL Option
The URL to check can be specified with the `--url` flag, which defaults to `http://localhost:8080/ping`.
Example:
```sh
traefik healthcheck --url=http://localhost:8080/ping
```
## Ping
The `/ping` health-check URL is enabled with the command-line `--ping` or config file option `[ping]`.