Amazon web services – 502 Bad Gateway error on fastapi app hosted on EC2 instance + ELB
I have a FastAPI app that is hosted on EC2 instance with ELB for securing the endpoints using SSL. The app is running using a docker-compose.yml file version: '3.8' services: fastapi: build: . ports: - 8000:8000 command: uvicorn app.main:app --host…