Skip to content

Commit

Permalink
Do not add host:port to Health path in Health UI
Browse files Browse the repository at this point in the history
The Health UI will be served from the exact same interface so we don't
need to include the host:port.
It actually causes issues when you access the Health UI through a proxy
as it might point to 0.0.0.0:9000 which will resolve to localhost.

Fixes quarkusio#35980
  • Loading branch information
gsmet committed Nov 22, 2024
1 parent cbd735f commit 4dbf1a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ void registerUiExtension(
}

String healthPath = nonApplicationRootPathBuildItem.resolveManagementPath(healthConfig.rootPath,
managementInterfaceBuildTimeConfig, launchModeBuildItem);
managementInterfaceBuildTimeConfig, launchModeBuildItem, false);

webJarBuildProducer.produce(
WebJarBuildItem.builder().artifactKey(HEALTH_UI_WEBJAR_ARTIFACT_KEY) //
Expand Down

0 comments on commit 4dbf1a8

Please sign in to comment.