Add url option to healthcheck command
This commit is contained in:
parent
9bd5c61782
commit
56a95d6c16
2 changed files with 29 additions and 3 deletions
|
|
@ -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]`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue