As soon as I run it in production mode via a domain, nothing works anymore
Unanswered
Pine Bunting posted this in #help-forum
Pine BuntingOP
I have a NextJS project with nextauth(AuthJS) and next-intl
In production and dev mode on localhost everything works fine.
But as soon as I deploy it to the server and prepend a domain nothing works anymore. I have adapted the ENV entries to the domain
I become a
I don't know what files to send you here. So please tell me what you want to see
In production and dev mode on localhost everything works fine.
But as soon as I deploy it to the server and prepend a domain nothing works anymore. I have adapted the ENV entries to the domain
I become a
Internal Server ErrorI don't know what files to send you here. So please tell me what you want to see
8 Replies
internal server errors are typically accompanied by a corresponding error in the server log. check server log and find that error message and fix it.
Pine BuntingOP
okay, i dont know why
localhost works perfectly
well... i have no clues either, but it looks like a network error in your deployment set-up rather than a bug in your nextjs application
Pine BuntingOP
okay, very strange. my nestjs application works fine so i rule out a network error.
So according to debugging it goes through the middleware of nextjs but it doesn't load the page
So according to debugging it goes through the middleware of nextjs but it doesn't load the page
@joulev well... i have no clues either, but it looks like a network error in your deployment set-up rather than a bug in your nextjs application
Pine BuntingOP
i can open the images from public folder without problems
I still have no idea, sorry. Don’t know how you set up your server.
Pine BuntingOP
it was the next-intl middleware…