I deployed next.js app using pm2 and nginx by following this guide.
All routes work fine in local server, but dynamic routes get 404 error on production server. but static route still works on production server. Only dynamic route issue.
Does someone have experience in this issue?