应用程序以外的其他终结点上的sprinboot/health

cfh9epnr  于 2021-07-26  发布在  Java
关注(0)|答案(0)|浏览(221)

应用程序正在上运行localhost:8080/foo 通过将上下文路径设置为/foo。运行状况终结点正在上列出localhost:8080/foo/actuator/health.
我们想要的是localhost:8080/health 这可能吗?
management.endpoints.web.base-path相对于server.servlet.context-path,因此这不是解决方案

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题