-
Notifications
You must be signed in to change notification settings - Fork 60.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Docker 容器Nginx反向代理问题 #2718
Comments
Title: [Bug]
Feedback Notice Please enter x in the square brackets below to indicate that you already know the relevant content.
Describe problem
It is suspected that this problem is caused by: vercel/next.js#54203 How to reproduce some necessary information
|
以及回退到旧版本 nextjs 并重新构建了 docker 镜像,请重新拉取 latest 版本 docker 镜像后重试。 |
And back to the old version of nextjs and rebuild the docker image, please re-pull the latest version of the docker image and try again. |
我在nginx里把127.0.0.1改为0.0.0.0后可以了 |
I changed 127.0.0.1 to 0.0.0.0 in nginx and it worked. |
I'm having similar issue:
Tried adding |
反馈须知
请在下方中括号内输入 x 来表示你已经知晓相关内容。
描述问题
1、nextJs 更新为13.4.19后,docker容器无法通过nginx反向代理。
2、初步原因是HOSTNAME为127.0.0.1,所以无法正常通过0.0.0.0:3000连接。
3、后将HOSTNAME修改为0.0.0.0,又报错如下:
4、发现当前版本nextJs启动方式有区别:
新(13.4.19):
旧(13.4.9):
疑似该问题导致:vercel/next.js#54203
如何复现
构建最新版本的docker镜像后即可复现该问题。
截图
一些必要的信息
The text was updated successfully, but these errors were encountered: