Relative Content

Tag Archive for imageamazon-ec2http-status-code-500next.js14

Next14 Image tag with 500 error in EC2 deploy

I’m using Next14 app router and deploying with EC2.
Some Images break with 500 status error. NOT ALL BUT SOME,,
I got all proper set in next.config.js remotePatterns, so this is not the problem.
I tried to deploy on Vercel, and in this case images were just fine with 200 status code.