File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -636,6 +636,10 @@ your application might already use `/info` for another purpose. You can use the
636
636
The `application.properties` example above will change the endpoint from `/{id}` to
637
637
`/manage/{id}` (e.g. `/manage/info`).
638
638
639
+ NOTE: Unless the management port has been configured to
640
+ <<production-ready-customizing-management-server-port,expose endpoints using a different
641
+ HTTP port>>, `management.context-path` is relative to `server.context-path`.
642
+
639
643
You can also change the "`id`" of an endpoint (using `endpoints.{name}.id`) which then
640
644
changes the default resource path for the MVC endpoint. Legal endpoint ids are composed
641
645
only of alphanumeric characters (because they can be exposed in a number of places,
You can’t perform that action at this time.
0 commit comments