Skip to content

Commit 5b1a4a0

Browse files
committed
Note that management.context-path is relative to server.context-path
Closes gh-10200
1 parent 5938df5 commit 5b1a4a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-boot-docs/src/main/asciidoc/production-ready-features.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,10 @@ your application might already use `/info` for another purpose. You can use the
636636
The `application.properties` example above will change the endpoint from `/{id}` to
637637
`/manage/{id}` (e.g. `/manage/info`).
638638

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+
639643
You can also change the "`id`" of an endpoint (using `endpoints.{name}.id`) which then
640644
changes the default resource path for the MVC endpoint. Legal endpoint ids are composed
641645
only of alphanumeric characters (because they can be exposed in a number of places,

0 commit comments

Comments
 (0)