Hi,
I'm trying to use a basic authenticated app behind an HTTP load balancer. I'm having trouble configuring the health checks to find healthy instances on the basic auth service. As a workaround I authorized the specific health check ip addresses to not use basic auth but now the global forwarding rule also redirects through the same ip range as the health checks so anyone hitting the global forwarding rule IP address can bypass the authentication.
What I want to happen is one of three things:
1. Allow health checks to my app to go through unauthorized but prevent any other access.
or
2. Allow setting of basic auth headers in health checks.
or
3. Allow health checks to run on a different (unsecured) port than the main application.
Is there any guidance on how to accomplish this?
Thanks,
Kevin