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:
Adrian
2021-05-24 12:43:14 +03:00
committed by spencergibb
parent 2aa37701f7
commit 2a9119cf6d

View File

@@ -18,4 +18,6 @@ spring:
server:
port: 8888
management:
context_path: /admin
endpoints:
web:
base-path: /admin