Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
b10456a2
Commit
b10456a2
authored
Apr 03, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor discussion of management.security.*
Really fixes gh-595
parent
5077b6cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+11
-3
No files found.
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
b10456a2
...
...
@@ -293,13 +293,21 @@ Exposing management endpoints using the default HTTP port is a sensible choice f
based deployments. If, however, your application runs inside your own data center you
may prefer to expose endpoints using a different HTTP port.
The `management.port` property can be used to change the HTTP port. Since your management
port is often protected by a firewall, and not exposed to the public. If you have Spring
Security on the classpath, you might also want to disable management security:
The `management.port` property can be used to change the HTTP port.
[source,properties,indent=0]
----
management.port=8081
----
Since your management
port is often protected by a firewall, and not exposed to the public you might not need
security on the management endpoints, even if your main application is secure. In that
case you will have Spring
Security on the classpath, and you can disable management security like this:
[source,properties,indent=0]
----
management.security.enabled=false
----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment