解决办法:
- 在配置文件application.yml中配置如下:
#显示路由zuul的端口配置,不配置无法访问 /routes
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: ALWAYS
- 结果如下:
解决办法:
#显示路由zuul的端口配置,不配置无法访问 /routes
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: ALWAYS