访问SpringCloud Zuul提供的 /actuator/routes 接口
/actuator/routes 默认是没有开启的需要配置 1 查看对外暴露的端点信息 查看对外暴露的端点信息:http://localhost:10000/actuator 2 设置 application.properties或者yml 2.1 将所有的端点都暴露出来 management.endpoints.web.exposure.include=* management: endpoints: web: exposure: include: '*' 2.2 只将/routes端点暴露出来 management.endpoints.we
下载地址
用户评论