выглядит app.properties 
                  
                  
                  management.endpoint.health.group.custom.include=db, ping
                  
                  
                  management.endpoint.health.group.custom.show-components=always
                  
                  
                  management.endpoints.web.base-path=/manager
                  
                  
                  Также добавил в config security 
                  
                  
                  .antMatchers(HttpMethod.GET, "/manager/health/custom").permitAll()
                  
                  
                  
                  
                  
                  Локально по адресу 
                  
                  
                  http://localhost:8080/manager/health/custom
                  
                  
                   получаю "status: up.....", всё работает как надо.
                  
                  
                  После развертывания приложения в контуре, 
                  
                  
                  https://{url}:{port}/manager/health/custom
                  
                  
                   получаю ошибку 404
                  
                  
                  Как это можно исправить?))
                  
                  
                
у тебя два слеша кстати во втором урле
опечатался)
Обсуждают сегодня