nginx with NLB - health check succeeds, nginx is not responsive

0

A customer ran out of disk space in his EC2 machines. Yet, his TCP health check succeeded, but his nginx failed to return HTTP responses.

Has anyone seen this situation before where the health check is successful but nginx is non-responsive?

Nir_Sh
已提问 4 年前904 查看次数
1 回答
1
已接受的回答

TCP check is only verifying the TCP connection to the host, not the nginx HTTP app response.

You can setup a HTTP check for specific path to test the app response from nginx. Here is information on the health check for NLB target groups:

https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-health-checks.html

AWS
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则