linux下為nginx添加jvmroute模塊的方法
更新時間:2014年02月24日 10:29:21 作者:
這篇文章主要介紹了linux下為nginx添加jvmroute模塊的方法,需要的朋友可以參考下
復(fù)制代碼 代碼如下:
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
相關(guān)文章
nginx中的兩個模塊的proxy_pass的區(qū)別解析
在nginx中配置proxy_pass代理轉(zhuǎn)發(fā)時,如果在proxy_pass后面的url加/,表示絕對根路徑;如果沒有/,表示相對路徑,把匹配的路徑部分也給代理走。本文給大家介紹nginx中的兩個模塊的proxy_pass的區(qū)別,感興趣的朋友一起看看吧2021-11-11Nginx安裝后/etc/nginx/conf.d下沒有default.conf的解決
nginx.conf是nginx默認加載的配置文件 通過nginx -V可以看nginx默認配置文件路徑,本文主要介紹了Nginx安裝后/etc/nginx/conf.d下沒有default.conf的解決,感興趣的可以了解一下2023-11-11