How to give a 200 response without authentication to an app gateway?

Hello,

I have an issue setting up an ES cluster on Azure. I'd like my cluster to be behind an application gateway and also use shield authentication.

The problem is that the azure application gateway needs to send a health ping to the cluster and get back a 200 response, otherwise it returns a 502 "bad gateway". If I create an anonymous use then I can get the cluster to return a 200 but I'd rather not enable an anonymous user and use basic authentication instead.

Is there some endpoint on the cluster that will return a 200 even if the user is not authenticated and anonymous users are turned off?

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.