简体   繁体   中英

spring boot actuator health check endpoint with no information in browser in Production server

We are using Spring Boot 1.5.2 where We are using Spring Boot starter Actuator, when we are hitting URL with Health check endpoint we are getting status= up, but we want blank information(information should not be shown there in browser)(any information will not be available for any public user).

By default, actuator endpoints are exposed on the same port that serves regular HTTP traffic. You can set different level of security for management Endpoints. Here is a details guide about security of management EndPoint.

You can also run your management API in different port and do not make this port open for public. Just use

management.port=8085

We are using Spring Boot 1.5.2 where We are using Spring Boot starter Actuator, when we are hitting URL with Health check endpoint we are getting status= up, but we want blank information(information should not be shown there in browser)(any information will not be available for any public user).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM