<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
</style>
</head>
<body class='hmmessage'>
i think it may use the url_hash<BR>
it is not bnuilt-in<BR>
you can down the patch from the nginx's website<BR><BR><BR>

<HR id=stopSpelling>
<BR>
Date: Tue, 3 Feb 2009 12:04:00 +0000<BR>Subject: nginx to load balance application servers<BR>From: zimbirty@superposta.com<BR>To: nginx@sysoev.ru<BR><BR>I have a blog system with seperate subdomain and domains and want to use nginx to load balance application servers. <BR><BR><BR>I want to give total number of servers available for example 5 and want to redirect all requests to the same server everytime. <BR><BR>For example <BR><BR><A href="http://a.blog.com/">a.blog.com</A> will go to server 1<BR><A href="http://b.bllog.com/">b.bllog.com</A> =&gt; server 2<BR><A href="http://b.bllog.com/x.html">b.bllog.com/x.html</A> =&gt; server 2<BR><A href="http://xx.com/">xx.com</A> =&gt; server 1<BR><BR>and so on. <BR><BR><BR>I am thinking doing this by converting domain name "<A href="http://a.blog.com/">a.blog.com</A>" to number with crc32 and modulo that number to number of servers (5)&nbsp; and remaining number wiill deceide which server to send this requests. <BR><BR>I wander how to do this. is it through perl or can it be done with config file alone. and how to to it in any way?<BR><br /><hr />來看看 Windows Live 的其他功能
除了寄信 Windows Live 還有更多功能
 <a href='http://www.microsoft.com/windows/windowslive/' target='_new'>除了寄信還有更多</a></body>
</html>