wget http://nginx.org/download/nginx-0.7.65.tar.gz
tar zxvf nginx-0.7.65.tar.gz
hg clone http://projects.unbit.it/hg/uwsgi
cd nginx-0.7.65
yum -y install zlib zlib-devel
yum -y install pcre pcre-devel
yum -y install openssl openssl-devel
./configure --add-module=../uwsgi/nginx/
refenerce:
http://hi.baidu.com/weiqi228/blog/item/a9345ef413d227d2f2d3852f.html
http://projects.unbit.it/uwsgi/wiki/RunOnNginx