#Next 13 layout, template, and page chunks are 404 hosted in NGINX
9 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
It looks like you are rewriting paths you should not be, here is my nginx setup for next: https://github.com/hofstadter-io/hof/tree/_dev/next/ci/nginx
I have an asset prefix for mine for statics so we don’t collide with the other containers but I’ll give this a shot thank you.
yeah, your paths may be different, but I'd guess that a misalignment in the rewrites is the most likely cause. I made calls directly to the next container to figure out the correct path rewrites (which was none in my case)
you can also exec into the container and look around at the files there, iirc, I did more of that then making direct curls to next
@zinc bramble it worked lol thanks.
that's great @teal burrow! happy I could help
🙂 appreciate your time