From d291819036335f8dbef98d113db9be60716198e7 Mon Sep 17 00:00:00 2001 From: "liuyuhua69@gmail.com" Date: Sun, 14 Jun 2015 15:12:48 +0800 Subject: [PATCH] ff --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc98254..79789ab 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,22 @@ -## 步骤 +## nginx 负载均衡配置 + +1. 修改nginx conf配置文件加入 + + upstream tomcat { + ip_hash; + server 200.10.10.67:8110; + server 200.10.10.67:8120; + server 200.10.10.44:8110; + server 200.10.10.66:8110; + } + +2. 配置 相应的server或者 location地址到 http://tomcat + + +## tomcat session共享配置步骤 1. 添加redis session集群依赖的jar包到 TOMCAT_BASE/lib 目录下