现在的位置: 首页 > 综合 > 正文

nginx resin session同步问题

2018年04月14日 ⁄ 综合 ⁄ 共 564字 ⁄ 字号 评论关闭

使用nginx-upstream-jvm-route-read-only模块

(1)下载nginx-upstream-jvm-route-read-only:http://code.google.com/p/nginx-upstream-jvm-route/

           或者svn checkout http://nginx-upstream-jvm-route.googlecode.com/svn/trunk/ nginx-upstream-jvm-route-read-only

(2)cd到nginx目录,执行:

        patch -p0 < ../nginx-upstream-jvm-route-read-only/jvm_route.patch

      (../nginx-upstream-jvm-route-read-only/jvm_route.patch请修改成自己的目录文件)

(3)nginx安装配置时(如果已经安装了nginx,只要删除nginx文件夹重新安装即可,无须卸载):

./configure --with-http_stub_status_module --add-module=/usr/local/nginx-upstream-jvm-route-read-only/

(4)然后编译、安装即可。

抱歉!评论已关闭.