nginx to load balance application servers

dennis cao dennis__cao at
Wed Feb 4 06:47:46 MSK 2009

i think it may use the url_hash
it is not bnuilt-in
you can down the patch from the nginx's website

Date: Tue, 3 Feb 2009 12:04:00 +0000Subject: nginx to load balance application serversFrom: zimbirty at superposta.comTo: nginx at sysoev.ruI have a blog system with seperate subdomain and domains and want to use nginx to load balance application servers. I want to give total number of servers available for example 5 and want to redirect all requests to the same server everytime. For example will go to server => server => server => server 1and so on. I am thinking doing this by converting domain name "" to number with crc32 and modulo that number to number of servers (5)  and remaining number wiill deceide which server to send this requests. 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?
不只可以寄信 – 來看看 Windows Live 的其他功能
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list