How to instruct an AWS ELB to consider a health check that returns a 403 code as successful? How to instruct an AWS ELB to consider a health check that returns a 403 code as successful? jenkins jenkins

How to instruct an AWS ELB to consider a health check that returns a 403 code as successful?


The check you're looking for is /login instead of /

That way you can keep the http check.


If you are doing an http health check, it does need a 200 response. You can switch this to a tcp health check, which may not be as accurate, but it would not care about the status code.