nginx keepalived
时间: 2023-08-25 22:16:03 浏览: 114
Nginx keepalived
Nginx和Keepalived是两个常用的工具,用于提高Nginx服务的高可用性。Nginx是一个高性能的Web服务器和反向代理服务器,而Keepalived是一个用于实现服务器冗余和负载均衡的工具。通过使用Keepalived来监控Nginx的运行状态,如果Nginx挂掉,Keepalived会尝试去救活它,如果无法救活,则会自动将虚拟IP路由到备用机器上,实现主备切换。这样可以确保在Nginx宕机的情况下仍然能够保持服务的可用性。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [nginx基础学习(七):nginx+keepalived搭建主备nginx高可用服务](https://blog.csdn.net/millery22/article/details/123499744)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文