First I apologize for not being familiar with English.
My web application is Django and web server use Nginx, use Docker image and Elastic Beanstalk to deployment.
Normally there was no problem, but as the load balancer expands EC2, my web server becomes 502 Bad Gateway.
I’m checked Elastic Beanstalk application logs, about 16% of the requests returned 5xx errors, at which time the load balancer expands EC2, causing the web server to transition to the 502 Bad Gateway state and the Elastic Beanstalk application to the Degraded state.
Is this a common problem when the load balancer performs a health check? If not, can I tell you how to turn off the Health Check?
I will attach a capture image for your help.