<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: Î¢ÈíÑźÚ; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>hi</div><div>     <span left-pos="0|14" right-pos="0|14" space="" class="" style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 13px; line-height: 22px;">When my nginx</span><span left-pos="14|3" right-pos="14|3" space="0| " class="" style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 13px; line-height: 22px;"> is</span><span left-pos="17|6" right-pos="17|6" space="0| " class="" style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 13px; line-height: 22px;"> below</span><span left-pos="23|15" right-pos="23|15" space="0| " class="" style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 13px; line-height: 22px;"> this structure,</span><span left-pos="0|5" right-pos="0|5" space="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;">Nginx</span><span left-pos="5|12" right-pos="5|12" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> access to the</span><span left-pos="17|5" right-pos="17|5" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> IP</span><span left-pos="22|18" right-pos="22|18" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> proxy server</span><span left-pos="51|6" right-pos="51|6" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> by</span><span left-pos="40|2" right-pos="40|2" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> IP</span><span left-pos="42|3" right-pos="42|3" space="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;">,</span><span left-pos="45|6" right-pos="45|6" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> then</span><span left-pos="57|5" right-pos="57|5" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> nginx</span><span left-pos="62|13" right-pos="62|13" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> ip_hash</span><span left-pos="75|15" right-pos="75|15" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> load balancing</span><span left-pos="90|6" right-pos="90|6" space="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;">,</span><span left-pos="96|6" right-pos="96|6" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> will</span><span left-pos="102|18" right-pos="102|18" space="0| " class="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> all requests are</span><span left-pos="120|9" right-pos="120|9" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> routed to</span><span left-pos="129|15" right-pos="129|15" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> the same tomcat</span><span left-pos="144|3" right-pos="144|3" space="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;">,</span><span left-pos="147|18" right-pos="147|18" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> do not know if you have</span><span left-pos="165|6" right-pos="165|6" space="0| " style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> what</span><span left-pos="171|18" right-pos="171|18" space="0| " class="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"> good method to solve the</span><span left-pos="189|3" right-pos="189|3" space="" class="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;">.</span></div><div><span left-pos="189|3" right-pos="189|3" space="" class="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;">   </span><span left-pos="0|14" right-pos="0|14" space="" class="" style="font-size: 10.5pt; background-color: window; color: rgb(51, 51, 51); font-family: arial; line-height: 22px;"><span style="font-size: 13px;"> </span></span><span left-pos="0|14" right-pos="0|14" space="" class="" style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 13px; line-height: 22px;">The ip_hash function</span><span left-pos="14|9" right-pos="14|9" space="0| " class="" style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 13px; line-height: 22px;"> can be</span><span left-pos="23|6" right-pos="23|6" space="0| " class="" style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 13px; line-height: 22px;"> introduced into</span><span left-pos="29|14" right-pos="29|14" space="0| " class="" style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 13px; line-height: 22px;"> a custom IP.</span><span style="background-color: window; color: rgb(51, 51, 51); font-family: arial; font-size: 10.5pt; line-height: 22px;">      </span></div><div>    <font color="#ff0000"> <span left-pos="0|12" right-pos="0|12" space="" class="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;">Prerequisite</span><span left-pos="12|3" right-pos="12|3" space="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;">:</span><span left-pos="15|6" right-pos="15|6" space="0| " class="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> can not</span><span left-pos="21|15" right-pos="21|15" space="0| " style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> change the existing</span><span left-pos="36|6" right-pos="36|6" space="0| " style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> structure</span><span left-pos="42|3" right-pos="42|3" space="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;">,</span><span left-pos="45|3" right-pos="45|3" space="0| " style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> and</span><span left-pos="48|14" right-pos="48|14" space="0| " style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> nginx access to the</span><span left-pos="62|11" right-pos="62|11" space="0| " style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> IP is only a</span><span left-pos="73|18" right-pos="73|18" space="0| " class="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;">proxy server</span><span left-pos="91|3" right-pos="91|3" space="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;">,</span><span left-pos="94|3" right-pos="94|3" space="0| " style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> and</span><span left-pos="127|2" right-pos="127|2" space="0| " style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> IP</span><span left-pos="103|9" right-pos="103|9" space="0| " style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> client</span><span left-pos="112|9" right-pos="112|9" space="0| " class="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> request is</span><span left-pos="97|6" right-pos="97|6" space="0| " class="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> not</span><span left-pos="121|6" right-pos="121|6" space="0| " class="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;"> true</span><span left-pos="129|3" right-pos="129|3" space="" style="font-size: 10.5pt; background-color: window; font-family: arial; line-height: 22px;">,</span></font></div><div><span left-pos="0|14" right-pos="0|14" space="" class="" style="color: rgb(51, 51, 51); font-family: arial; line-height: 22px;">  </span></div>
<div><img src="cid:_Foxmail.1@a8b10439-150d-5215-fa15-584b2f0f250d" border="0"></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>gaoping@richinfo.cn</div></div></span></div>
</body></html>