I'm setting up Spring Boot Admin which is behind AWS ELB.
Configuration is...
ELB(http, 80) --> Application (8080)
ELB(https, 443) --> Application (8080)
And, there is /ping endpoint for ELB health check.
I want every ELB http request to be redirected to https.
I tried this solution.
Spring Boot with Embedded Tomcat behind AWS ELB - HTTPS redirect
But it didn't work, because this redirects every thing include /ping, and ELB can't do health check.
What can I do?