Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
323 views
in Technique[技术] by (71.8m points)

前端如何新增虚拟IP访问项目

image.png
问题描述:前端项目放在两台nginx服务器上,想要新增一个虚拟IP 118,通过118可以访问到 120 和 121的项目;保证如果 120 或 121 其中一台崩溃了,依然可以通过另一台能正常访问,这需要怎么设置?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

这……不就是带健康检查的负载均衡吗?

随便找了几篇。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...