However, is it possible to configure a web section on routers bound to a health-checks endpoint?
The doc seems to suggest that the health-checks in only supported on controllers:
The health checks themselves are configured in a different section:
healthChecks:
ctrlPingCheck:
# How often to ping the controller over the control channel. Defaults to 30 seconds
interval: 30s
# When to timeout the ping. Defaults to 15 seconds
timeout: 15s
# How long to wait before pinging the controller. Defaults to 15 seconds
initialDelay: 15s
linkCheck:
# Number of links required for the health check to be passing. Defaults to 0
minLinks: 1
# How often to check the link count, defaults to 5s
interval: 5s
# How long to wait before running the first check. Defaults to 1s
initialDelay: 5s