- 我将应用程序服务management.context-path设置为/ mgmt并将其注册到eureka服务器。
eureka: instance: statusPageUrlPath: ${management.context-path}/info healthCheckUrlPath: ${management.context-path}/health metadata-map: management.context-path: ${management.context-path} prefer-ip-address: true client: serviceUrl: defaultZone: http://registry:7000/eureka/
如何在springboot中设置jolokia上下文路径admin
- 当我在管理UI(另一个不同的服务,和注册表尤里卡服务器)查看JMX,我得到了一些安全问题。实际上我的/管理/ *添加到白名单
http.authorizeRequests() .antMatchers("/" ,"/mgmt/*","/jolokia","/jolokia/**").permitAll()
如何设置springboot管理的椒上下文路径?