Static file names in next build
Unanswered
Transvaal lion posted this in #help-forum
Transvaal lionOP
"I have a Next.js app running on AWS Elastic Beanstalk with seven instances. I have set up auto-scaling so that if traffic increases, the number of instances might go up. I am taking the Next.js build on the Elastic Beanstalk server. My problem is that different instances have different static files inside the .next folder. For example, files inside .next/static/css were different in some instances and different in others, resulting in a 404 error when requesting these files. How can I avoid this? Is there a preference in next.config.js that fixes these file names?"