SpringBoot 1.x 版本
# 关闭所有端点
endpoints.enabled=false
# 开启 /health 端点
endpoints.health.enabled=true
SpringBoot 2.x 版本
# 关闭所有端点
management.endpoints.enabled-by-default=false
# 开启 /health 端点
management.endpoint.health.enabled=true
标签:SpringBoot,Spring,boot,enabled,health,端点,actuator,endpoints
From: https://www.cnblogs.com/shaun23/p/17446212.html