I deployed django web project using Nginx to aws ECS fargate using Jenkins and Docker. The problem is, CloudWatch log shows there is no error, but when I try to send ping or call api, it shows 503 or 502. It seems like CloudWatch log does not work when response is 500.
The only way I have in mind is make docker file allow ssh, and open port 22 of fargate, and ssh. However, using ssh to production and docker image sounds strange to me.
I want to know where I can find error log.