http://code.google.com/p/nginx-upstream-jvm-route/source/browse/trunk/jvm_route.patch?r=7
下载jvm_route.patch 代码。
安装:http://code.google.com/p/nginx-upstream-jvm-route/
然后把代码写到/path/to/this/directory/jvm_route.patch文件里。然后执行以下命令:
cd nginx-0.7.59 # or whatever
patch -p0 < /path/to/this/directory/jvm_route.patch
./configure
--add-module=/path/to/this/directory --with-http_stub_status_module –prefix=/usr/local/nginx
Tomcat a:
Tomcat b:
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/309902/viewspace-1051574/ ,如需转载,请注明出处,否则将追究法律责任。