title: How to create a spring boot app with ssl.enable=true and a non-secure "/health" end point
body: <p>Is it possible to configure spring boot application ( Jetty ) to have at least one non-secure (non https) endpoint for a load balancer to perform health checks but have all other requests be forced to be secure?</p>
  
  <p>When setting the property:</p>
  
  <p><code>server.ssl.enabled=true</code></p>
  
  <p>requests for all ports (both regular port and management/actuator port) are forced to be https.</p>
  
  <p>Secure requests URLS must have the server name in the URL match the certificate configured.  A load balancer or container manager like kubernetes would have to access each node in a pool of servers with some kind of host name to server mapping.</p>