management.endpoints.web.base-path=/admin
According to https://docs.spring.io/spring-boot/docs/2.4.x/reference/html/production-ready-features.html#production-ready-customizing-management-server-context-path it seems to me that "management.endpoints.web.base-path=/admin" is the best choice.
This commit is contained in:
@@ -18,4 +18,6 @@ spring:
|
||||
server:
|
||||
port: 8888
|
||||
management:
|
||||
context_path: /admin
|
||||
endpoints:
|
||||
web:
|
||||
base-path: /admin
|
||||
|
||||
Reference in New Issue
Block a user