Commit 5b1a4a04 authored by Andy Wilkinson's avatar Andy Wilkinson

Note that management.context-path is relative to server.context-path

Closes gh-10200
parent 5938df52
...@@ -636,6 +636,10 @@ your application might already use `/info` for another purpose. You can use the ...@@ -636,6 +636,10 @@ your application might already use `/info` for another purpose. You can use the
The `application.properties` example above will change the endpoint from `/{id}` to The `application.properties` example above will change the endpoint from `/{id}` to
`/manage/{id}` (e.g. `/manage/info`). `/manage/{id}` (e.g. `/manage/info`).
NOTE: Unless the management port has been configured to
<<production-ready-customizing-management-server-port,expose endpoints using a different
HTTP port>>, `management.context-path` is relative to `server.context-path`.
You can also change the "`id`" of an endpoint (using `endpoints.{name}.id`) which then You can also change the "`id`" of an endpoint (using `endpoints.{name}.id`) which then
changes the default resource path for the MVC endpoint. Legal endpoint ids are composed changes the default resource path for the MVC endpoint. Legal endpoint ids are composed
only of alphanumeric characters (because they can be exposed in a number of places, only of alphanumeric characters (because they can be exposed in a number of places,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment