mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Fix documentation
Closes gh-6358
This commit is contained in:
parent
26a233a870
commit
78879f4bdb
@ -648,10 +648,10 @@ The information exposed by the health endpoint varies depending on whether or no
|
||||
accessed anonymously, and whether or not the enclosing application is secure.
|
||||
By default, when accessed anonymously in a secure application, any details about the
|
||||
server's health are hidden and the endpoint will simply indicate whether or not the server
|
||||
is up or down. Furthermore, when accessed anonymously, the response is cached for a
|
||||
configurable period to prevent the endpoint being used in a denial of service attack.
|
||||
The `endpoints.health.time-to-live` property is used to configure the caching period in
|
||||
milliseconds. It defaults to 1000, i.e. one second.
|
||||
is up or down. Furthermore the response is cached for a configurable period to prevent the
|
||||
endpoint being used in a denial of service attack. The `endpoints.health.time-to-live`
|
||||
property is used to configure the caching period in milliseconds. It defaults to 1000,
|
||||
i.e. one second.
|
||||
|
||||
The above-described restrictions can be enhanced, thereby allowing only authenticated
|
||||
users full access to the health endpoint in a secure application. To do so, set
|
||||
|
Loading…
Reference in New Issue
Block a user