How to use caddy with ec2 - docker - nestjs

Caddy is listening on port 443, not port 3000. Your app is on port 3000.

Make sure to open ports 80 and 443 in your firewall for Caddy to serve HTTP and HTTPS.