Actuator and Security
某些平台会配置健康检查或类似的内容,并指向 /actuator/health
或其他执行器端点。如果执行器不是 Config Server 的依赖项,对 /actuator/
would match the config server API /{application}/{label}
possibly leaking secure information. Remember to add the spring-boot-starter-actuator
dependency in this case and configure the users such that the user that makes calls to /actuator/
的请求将无法访问 /{application}/{label}
处的 Config Server API。