springboot 停用某項健康檢查management.health.mail.enabled management.health.mongo.enabled management.health.redis.enabled management.health.solr.enabled management.health.elasticsearch.enabled登入後複製springboot加es健康檢查問題 程式碼自訂了健康檢查路徑/actuator/health #但是實際要求的時候走不到自己的程式碼裡 會經過filter攔截掉,攔截之後會經過呼叫es的健康檢查失敗,而回傳503 解決方案: application. yaml裡 management endpoints exposure exclude: health 排除health,走自己寫的健康檢查介面