Help deploying Next on bare Linux. with the <Image> feature.
Answered
American Crocodile posted this in #help-forum
American CrocodileOP
Hi guys,
I just released my first personal next project. (still in beta) and I liked Next so far. My server is ubuntu Linux with NGINX running as rp amd handling ssl.
the issue comes when I used the <Image> feature instead of <img>
So I assume that I have a problem with NGINX and NPM NEXT. Maybe there are not sufficient acces rights or the other issue that there is the ip
http://127.0.0.1:3000/ != http://localhost:3000
For now I just used <img> and I do not have any issues, but I still want to learn the cause.
Maybe someone can help?
my browser inspect shows this 500 when I inspect the GET request made in the browser:
Request URL:
https://www.jobfinder4.de/_next/image?url=%2Fassets%2Fimages%2Flandingsm.jpg&w=1080&q=75
Request Method:
GET
Status Code:
500 Internal Server Error
Remote Address:
"IP ADRESS HERE"
Referrer Policy:
strict-origin-when-cross-origin
I will answer now with more Info. It is just too long, to post it all here.
I just released my first personal next project. (still in beta) and I liked Next so far. My server is ubuntu Linux with NGINX running as rp amd handling ssl.
the issue comes when I used the <Image> feature instead of <img>
So I assume that I have a problem with NGINX and NPM NEXT. Maybe there are not sufficient acces rights or the other issue that there is the ip
http://127.0.0.1:3000/ != http://localhost:3000
For now I just used <img> and I do not have any issues, but I still want to learn the cause.
Maybe someone can help?
my browser inspect shows this 500 when I inspect the GET request made in the browser:
Request URL:
https://www.jobfinder4.de/_next/image?url=%2Fassets%2Fimages%2Flandingsm.jpg&w=1080&q=75
Request Method:
GET
Status Code:
500 Internal Server Error
Remote Address:
"IP ADRESS HERE"
Referrer Policy:
strict-origin-when-cross-origin
I will answer now with more Info. It is just too long, to post it all here.
Answered by American Crocodile
So I was able to finde the solution. npm install next@13.5.2 <- A downgrade to next 13.5.2 it is. https://github.com/vercel/next.js/issues/53715
1 Reply
American CrocodileOP
So I was able to finde the solution. npm install next@13.5.2 <- A downgrade to next 13.5.2 it is. https://github.com/vercel/next.js/issues/53715
Answer