1.X版本与2.X区别:2.X大部分路径要加“/actuator”

端点列表(注意最后一栏Sensitive为true的端点如果不设置为false将不可访问):

https://docs.spring.io/spring-boot/docs/1.5.3.RELEASE/reference/html/production-ready-endpoints.html#production-ready-endpoints

自定义设置:

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) 对于health端点如果要看到详细的信息:
需要注意management.security.enabled和endpoints.health.sensitive这两个配置项的配置(都设置为false时,可以不用认证权限直接显示详细信息):
https://docs.spring.io/spring-boot/docs/1.5.3.RELEASE/reference/html/production-ready-monitoring.html#production-ready-health-access-restrictions

最新文章

  1. 将windows server 2016改造为像windows 10一样适合个人使用的系统
  2. python set add 导致问题 TypeError: unhashable type: 'list'
  3. MySQL性能状态查看方式
  4. zookeeper集群环境安装配置
  5. oracle解析xml完成版第二次修改
  6. 开发win8 metro monogame,显示pubcenter广告时会使游戏卡住的问题的解决方法。
  7. hadoop2集群中关键配置文件的记录
  8. swift 初始化
  9. 二叉搜索树(BST)学习笔记
  10. C#数组和集合整理
  11. HDU 1536 S-Nim (组合游戏+SG函数)
  12. git命令行的操作实例教程
  13. exp、Exploit、Exploit Pack、exp-gui、Payload、MetaSploit都是啥?
  14. mysql概要(六)连接(内连接,左,右外连接
  15. layer,一个可以让你想到即可做到的javascript弹窗(层)解决方案
  16. 未能正确加载“VSTS for Database Professionals Sql Server Data-tier Application”包。(转)
  17. asp.net 正在加载效果实现
  18. Ubuntu16.04 静态IP配置
  19. Django CRM系统
  20. LeetCode OJ:Two Sum(两数之和)

热门文章

  1. android studio toolbar遮挡住下面控件内容
  2. es5 JSON对象
  3. 7.ICMP与ping
  4. CIE XYZ
  5. System.Byte.cs
  6. dart 异步
  7. jq 图片上传前预览
  8. 结合sessionStorage解决vuex页面刷新数据丢失的问题
  9. 03_mybatis配置文件详解
  10. 阿里云服务器安装Python3.8