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/
http.authorizeRequests()
.antMatchers("/" ,"/mgmt/*","/jolokia","/jolokia/**").permitAll()
How to set the jolokia context path in springboot admin?
Oh Fk, just a mistake, change the /mgmt/* to /mgmt/, it works.
http.authorizeRequests()
.antMatchers("/" , "/mgmt/**","/jolokia","/jolokia/**").permitAll()