首页 Nginx缓冲、反向代理
文章
取消

Nginx缓冲、反向代理

使用
nginx -t 检查配置
Windows下编译
cgwin下
cd ~
wget http://nginx.org/download/nginx-1.2.8.tar.gz
tar -xzvf nginx-1.2.8.tar.gz
git clone https://github.com/gnosek/nginx-upstream-fair.git
git clone ttps://github.com/yaoweibin/nginx_upstream_check_module.git
cd nginx-1.2.8
./configure --prefix=. --sbin-path=nginx --with-cc-opt="-D FD_SETSIZE=4096" --add-module=../nginx-upstream-fair --add-module=../nginx_upstream_check_module
make
make install

编译后,将nginx.exe及从cygwin/bin下拷贝cygwin1.dll,cyggcc_s-1.dll,cygz.dll,cygcrypto-0.9.8.dll,cygssl-0.9.8.dll,cygpcre-0.dll,cygcrypt-0.dll这几个dll到nginx目录下,从nginx windows版 拷贝conf、html、logs到nginx目录里。

链接:Nginx+Tomcat 负载均衡集群方案
Nginx初步实践
nginx 0.8.54/1.0.0 在 cygwin 环境下的编译(包括 nginx_mod_h264_streaming-2.2.7)
关于nginx upstream的几种配置方式

nginx模块nginx-http-footer-filter(淘宝开发)

淘宝修改版tengine

本文由作者按照 CC BY 4.0 进行授权