springboot admin怎么配置context-path给出yaml配置示例
可以通过在application.yml或application.properties文件中配置server.servlet.context-path属性来设置Spring Boot Admin的context-path。
例如,要将Spring Boot Admin的context-path设置为/admin,可以在application.yml文件中添加以下配置:
server:
servlet:
context-path: /admin
或者在application.properties文件中添加以下配置:
server.servlet.context-path=/admin
原文地址: https://www.cveoy.top/t/topic/E2K 著作权归作者所有。请勿转载和采集!