Support multi-segment additional health paths

Signed-off-by: Wan bin yu <3431359639@qq.com>

See gh-51470
This commit is contained in:
Wan bin yu
2026-09-16 10:22:31 +01:00
committed by Andy Wilkinson
parent 1f3209130d
commit 3aa96f2229
7 changed files with 109 additions and 43 deletions
@@ -926,7 +926,7 @@ management.endpoint.health.group.live.additional-path="server:/healthz"
This would make the `live` health group available on the main server port at `/healthz`.
The prefix is mandatory and must be either `server:` (represents the main server port) or `management:` (represents the management port, if configured.)
The path must be a single path segment.
The path can contain one or more path segments.