1.X版本与2.X区别:2.X大部分路径要加“/actuator”
端点列表(注意最后一栏Sensitive为true的端点如果不设置为false将不可访问):
自定义设置:
endpoints.sensitive=true endpoints.info.sensitive=false
上面两句的配置意思为将除了info以外的所有端点设置为敏感不可访问(https://docs.spring.io/spring-boot/docs/1.5.3.RELEASE/reference/html/production-ready-endpoints.html#production-ready-customizing-endpoints)