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

nginx多个域名使用同一个upstream问题 #1880

Open
huangyonghome opened this issue Oct 30, 2023 · 1 comment
Open

nginx多个域名使用同一个upstream问题 #1880

huangyonghome opened this issue Oct 30, 2023 · 1 comment
Assignees

Comments

@huangyonghome
Copy link

nginx的多个域名配置了同一个upstream(比如k8s-server).当其中一个域名的后端应用出现问题,访问出现大量502的时候.Nginx会将这个upstream的后端服务置为异常(猜测).导致其他域名访问也出现502.

我们生产环境经常遇到某个应用502.引发很多其他正常使用的域名也出现502.

请问大家有遇到这个问题吗?

@drawing
Copy link
Collaborator

drawing commented Oct 30, 2023

502 的原因是什么呢,如果是建联失败等系统性问题,跟域名无关,upstream 相关联的请求都会报错

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