话说什么MAPN的反向教程,什么LNMP的反向教程 其实都是一个原理
只是这位兄弟发的教程指令更适用于red hat/centos
我就发个debian/ubuntu下的指令吧

已经安装MAPN的朋友依然可以使用,前端依然是前端,后端依然是后端- apt-get -y install gcc g++ libncurses5-dev make libxml2-dev subversion libpcre3 libpcre3-dev libcurl4-openssl-dev复制代码- wget http://nginx.org/download/nginx-1.0.10.tar.gz

  • svn checkout http://substitutions4nginx.googlecode.com/svn/trunk/ substitutions4nginx-read-only
  • tar zxvf nginx-1.0.10.tar.gz
  • cd nginx-1.0.10/复制代码- ./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --add-module=/root/substitutions4nginx-read-only --with-http_gzip_static_module --with-ipv6复制代码- make && make install复制代码完成后重启NGINX- /etc/init.d/nginx restart复制代码好了,apache继续做apache的事,NGINX做nginx的事

反向代理使用方法可以参照这哥们的内容http://www.hostloc.com/viewthread.php?tid=94331

[ 本帖最后由 大胡子 于 2011-12-12 19:37 编辑 ]