Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alexandremucci/201469fccfa1f08beddbd25ff8a292d5 to your computer and use it in GitHub Desktop.
Save alexandremucci/201469fccfa1f08beddbd25ff8a292d5 to your computer and use it in GitHub Desktop.
Basic set of properties to be used when adding Spring Boot Actuator to a Spring Boot Project
#####################################################################################################################
# Spring Boot Actuator settings
# port used to expose actuator
management.server.port=8081
# CIDR allowed to hit actuator
management.server.address=127.0.0.1
# block access to all endpoints over JMX
management.endpoints.jmx.exposure.exclude=*
# enable explicitly only the endpoints you want to expose
management.endpoints.web.exposure.include=health
# disable actuator discovery page
management.endpoints.web.discovery.enabled=false
#####################################################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment