1 Star 0 Fork 15

alexsunrise / nginx_keepalive

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
keepalived-slave.conf 459 Bytes
一键复制 编辑 原始数据 按行查看 历史
liuyue 提交于 2019-10-18 06:41 . first commit
vrrp_script chk_nginx {
script "pidof nginx"
interval 2
}
vrrp_instance VI_1 {
state BACKUP
interface eth0
virtual_router_id 33
priority 100
advert_int 1
unicast_src_ip 172.20.128.3
unicast_peer {
172.20.128.2
}
authentication {
auth_type PASS
auth_pass letmein
}
virtual_ipaddress {
172.20.128.4/24 dev eth0
}
track_script {
chk_nginx
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/alexsunrise/nginx_keepalive.git
git@gitee.com:alexsunrise/nginx_keepalive.git
alexsunrise
nginx_keepalive
nginx_keepalive
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891