Centos 6.9 Nginx 1.13.9 配置健康检测模块

nginx安装
https://blog.csdn.net/hanzheng260561728/article/details/79553734

下载nginx检查模块
https://download.csdn.net/download/hanzheng260561728/10479330

解压nginx检查模块
unzip healthcheck_nginx_upstreams-master.zip

cd nginx-1.13.9
patch -p1 < ../healthcheck_nginx_upstreams-master

编译nginx
./configure --user=www --group=www --prefix=/usr/local/nginx  --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_realip_module --with-stream --with-stream_ssl_module --with-http_flv_module --with-http_mp4_module --with-http_dav_module --with-http_sub_module  --with-http_gunzip_module --with-pcre --with-debug --add-module=/root/healthcheck_nginx_upstreams-master


执行make, 注意不需要make

你可能感兴趣的:(Centos,Nginx)