Add option to disable X-Application-Context

Add `management.add-application-context-header` option to disable
the automatic adding of the `X-Application-Context` HTTP header.

Fixes gh-1308
This commit is contained in:
Phillip Webb
2014-08-06 12:21:15 -07:00
parent 621649d9c6
commit d854c09d5a
4 changed files with 67 additions and 11 deletions

View File

@@ -313,6 +313,7 @@ content into your application; rather pick only the properties that you need.
management.port= # defaults to 'server.port'
management.address= # bind to a specific NIC
management.contextPath= # default to '/'
management.add-application-context-header= # default to true
# ENDPOINTS ({sc-spring-boot-actuator}/endpoint/AbstractEndpoint.{sc-ext}[AbstractEndpoint] subclasses)
endpoints.autoconfig.id=autoconfig