【发布时间】:2018-04-12 11:43:11
【问题描述】:
我已经为我的 spring boot 应用程序配置了 consul,我有 basic Auth 来访问 url。
如果我点击 localhost:8081/health,它要求进行基本身份验证,并且 状态为 UP
但是在 consul UI 中它会抛出一个错误
HTTP GET http://192.168.1.155:8081/health: 401 Output: HTTP Status 401 - Full authentication is required to access this resource
如何在 consul 中提供此身份验证。
【问题讨论】:
标签: spring-boot spring-cloud-consul