Nginx 502 Bad Gateway after deploying Flask API to Elastic Beanstalk |111: Connection refused while connecting to upstream
I’m really new into servers and stepping from development into production and lately I’ve had some errors while deploying a Flask API to AWS Elastic Beanstalk. I “successfully” deployed my API through EB CLI as it said so, but when I open the domain, it only says “502 Bad Gateway – nginx”.