Skip to content
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

通过k8s部署的nohost服务,无法正常使用 #110

Open
NidMo opened this issue Jan 21, 2022 · 6 comments
Open

通过k8s部署的nohost服务,无法正常使用 #110

NidMo opened this issue Jan 21, 2022 · 6 comments

Comments

@NidMo
Copy link

NidMo commented Jan 21, 2022

Version
1.3.3

环境
node:16.13.1

通过dockerfile构建一个nohost服务,部署在公司内网中,通过k8s的ingress转发规则,将nohost.xxx.com域名到对应的服务地址中,管理后台能正常打开,但代理服务无法正常使用。

@avwo
Copy link
Collaborator

avwo commented Jan 21, 2022

n2 run -M prod 启动试试

@NidMo
Copy link
Author

NidMo commented Jan 21, 2022

n2 run -M prod 启动试试

试过了,还是不行。。。。
image

代理规则好像是获取到了
image

是不是得采用connect 隧道代理

@avwo

@avwo
Copy link
Collaborator

avwo commented Jan 21, 2022

抓包看下

@NidMo
Copy link
Author

NidMo commented Jan 21, 2022

我和@WzFFzW 说过这个问题,要不你们同步一下信息?

@NidMo
Copy link
Author

NidMo commented Jan 21, 2022

抓包看下

image

@aogg
Copy link

aogg commented Apr 6, 2023

应该是header没有改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants