Replies: 4 comments 6 replies
-
Did you find any fix to this? I'm having the same issue, it's possibly caused by some nextjs update. Just to add some further context:
We have nginx in front of the site in prod, but we haven't changed anything regarding that for long time. |
Beta Was this translation helpful? Give feedback.
-
Found the solution, just downgrade to 13.3.0 |
Beta Was this translation helpful? Give feedback.
-
Some investigation results: I have a Next.js server behind nginx proxy. When I go to server and curl next.js directly with path:
If I request nginx, then I get 404. In nginx-debug logs I see the following:
So as u can see, it requests correct url, everything ok, but |
Beta Was this translation helpful? Give feedback.
-
I'm encountering a similar issue with Next.js 14.2.15. Dynamic app routes function correctly on localhost but result in a 404 error when deployed on Vercel. The project includes markdown blogs with dynamic slugs, but they fail to load on Vercel, returning a 404 error. I have checked vercel source all requried files are included via git. I also attempted downgrading, but it did not resolve the issue. |
Beta Was this translation helpful? Give feedback.
-
Summary
Hi,
I was working in a eCommerce project. everything were working perfect. suddenly when i restart the server the problem started.
page with dynamic route ( name containing [] ) stopped working. when i tried to find the issue. nothing make sense. When i ever i tried to visit dynamic route page, it return 404 in loading its chunks file. The fun part is, its not redirected to 404 page. So first of all i checked if static/chunks/pages/[slug] or static/chunks/pages/[id] were created. All files are there in the folder. But when it comes to dynamic route page. it shows 404 in loading files and not redirected to 404 custom page.
Page without dynamic route working perfect. this happen when i run custom server with production. I am running custom server in my cpanel account. If any one has any idea, please help me out.
Thank you
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions