linux下为nginx添加jvmroute模块的方法
更新时间:2014年02月24日 10:29:21 作者:
这篇文章主要介绍了linux下为nginx添加jvmroute模块的方法,需要的朋友可以参考下
复制代码 代码如下:
cd /opt
wget http://nginx.org/download/nginx-1.2.8.tar.gz
tar zxvf /opt/nginx-1.2.8.tar.gz
wget https://nginx-upstream-jvm-route.googlecode.com/files/nginx-upstream-jvm-route-0.1.tar.gz
tar zxvf /opt/nginx_upstream_jvm_route
cd /opt/nginx-1.2.8
patch -p0 < /opt/nginx_upstream_jvm_route/jvm_route.patch
./configure --with-http_stub_status_module --prefix=/usr/webserver/nginx --with-pcre=/opt/pcre-8.32 --add-module=/opt/nginx_upstream_jvm_route
make
make install
相关文章
nginx禁止直接通过ip进行访问并跳转到自定义500页面的操作
这篇文章主要介绍了nginx禁止直接通过ip进行访问并跳转到自定义500页面的操作,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧2020-05-05


最新评论