Clarify health and status url context path docs. Fixes #2804.
This commit is contained in:
@@ -108,21 +108,23 @@ The status page and health indicators for a Eureka instance default to
|
||||
useful endpoints in a Spring Boot Actuator application. You need to
|
||||
change these, even for an Actuator application if you use a
|
||||
non-default context path or servlet path
|
||||
(e.g. `server.servletPath=/foo`) or management endpoint path
|
||||
(e.g. `management.contextPath=/admin`). Example:
|
||||
(e.g. `server.servletPath=/foo`) Example:
|
||||
|
||||
.application.yml
|
||||
----
|
||||
eureka:
|
||||
instance:
|
||||
statusPageUrlPath: ${management.context-path}/info
|
||||
healthCheckUrlPath: ${management.context-path}/health
|
||||
statusPageUrlPath: ${server.servletPath}/info
|
||||
healthCheckUrlPath: ${server.servletPath}/health
|
||||
----
|
||||
|
||||
These links show up in the metadata that is consumed by clients, and
|
||||
used in some scenarios to decide whether to send requests to your
|
||||
application, so it's helpful if they are accurate.
|
||||
|
||||
NOTE: In Dalston it was also required to set the status and health check URLs when changing
|
||||
that management context path. This requirement was removed beinging in Edgware.
|
||||
|
||||
=== Registering a Secure Application
|
||||
|
||||
If your app wants to be contacted over HTTPS you can set two flags in
|
||||
|
||||
Reference in New Issue
Block a user