spring_reference/V. Spring Boot Actuator/41.5. Disabling HTTP endpoi...

5 lines
129 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 41.5. 禁用HTTP端点
如果不想通过HTTP暴露端点你可以将管理端口设置为-1
`management.port=-1`