本文章收录做资料使用,非本人原创,特此说明。 公司前一段对业务线上的nginx做了整理,重点就是对nginx上负载均衡器的后端节点做健康检查。目前,nginx对后端节点健康检查的方式主要有3种,这里列出: 公司业务线上对后端节点的健康检查是通过nginx_upstream_check_module模 ...
分类:
Web程序 时间:
2017-12-15 22:45:07
阅读次数:
316
用nginxTCP反向代理作mail邮件代理用nginxTCP反向代理作mail邮件代理1.背景2.Nginx安装(包括nginx_upstream_check_module)3.Nginx配置4.总结1.背景新版本nginx有TCP反向代理功能,nginx的mailproxy配置认证又太麻烦,于是就想用TCP反向功能作mail代理。2.Nginx安装(包括ngin..
分类:
其他好文 时间:
2017-08-22 15:52:39
阅读次数:
195
淘宝技术团队开发了一个 Tengine ( Nginx 的分支 ) 模块 nginx_upstream_check_module ,用于提供主动式后端服务器健康检查,通过它可以检测后端 realserver 的健康状态,如果后端 realserver 不可用,则所有的请求就不会转发到该节点上,需要通 ...
分类:
其他好文 时间:
2017-06-03 12:41:04
阅读次数:
159
安装nginx下载最新的nginx源码包,安装nginx编译依赖yum-yinstallgccgcc-c++makelibtoolzlibzlib-developensslopenssl-develpcrepcre-develnginx的插件模块nginx_upstream_check_module-0.3.0.tar.gz——检查后端服务器的状态,nginx-goodies-nginx-sticky-module-ng-bd312d586..
分类:
其他好文 时间:
2017-01-19 13:05:04
阅读次数:
349
nginx安装并支持upstream和tcp代理模块yumgroupinstall"Developmenttools"yum-yinstallpcre-developensslopenssl-develgitwgethttp://nginx.org/download/nginx-1.4.5.tar.gztarzxvfnginx-1.4.5.tar.gzcdnginx-1.4.5gitclonehttps://github.com/yaoweibin/nginx_upstream_check..
分类:
其他好文 时间:
2016-12-13 16:31:48
阅读次数:
194
转自http://www.iyunv.com/thread-38535-1-1.html 公司业务线上对后端节点的健康检查是通过nginx_upstream_check_module模块做的,这里我将分别介绍这三种实现方式以及之间的差异性。 指定在何种情况下一个失败的请求应该被发送到下一台后端服务器 ...
分类:
其他好文 时间:
2016-12-02 19:26:01
阅读次数:
991
1. 下载nginx,并解压 http://nginx.org/ 2. 下载health check模块 git clone https://github.com/yaoweibin/nginx_upstream_check_module.git 3. 安装依赖模块包,配置预编译环境 yum -y ...
分类:
其他好文 时间:
2016-11-10 14:08:33
阅读次数:
238
wgethttp://nginx.org/download/nginx-1.4.5.tar.gztarzxvfnginx-1.4.5.tar.gzcdnginx-1.4.5Gitclonehttps://github.com/yaoweibin/nginx_upstream_check_module.git//upstream模块gitclonehttps://github.com/yaoweibin/nginx_tcp_proxy_module.git//tcp代理模块yuminstallpat..
分类:
其他好文 时间:
2016-09-08 18:40:12
阅读次数:
252
centos6.4
nginx编译添加模块
nginx_upstream_check_modules
#下载http://nginx.org/en/download.html/nginx-1.9.15.tar.gz
$wgethttp://nginx.org/en/download.html/nginx-1.9.15.tar.gz
$tar-zxfnginx-1.9.15.tar.gz
#下载nginx_upstream_check_modules模块
$wgethttps..
分类:
其他好文 时间:
2016-05-17 22:52:01
阅读次数:
186
公司前一段对业务线上的nginx做了整理,重点就是对nginx上负载均衡器的后端节点做健康检查。目前,nginx对后端节点健康检查的方式主要有3种,这里列出: 公司业务线上对后端节点的健康检查是通过nginx_upstream_check_module模块做的,这里我将分别介绍这三种实现方式以及之间 ...
分类:
其他好文 时间:
2016-04-21 11:34:30
阅读次数:
271