The usptream_ketama_chash
module is a load balancer which provides upstream load distribution by hashing a configurable variable using ketama consistent hashing algorithm.
upstream backend {
...
ketama_chash $uri;
}
cd nginx-*version*
./configure --add-module=/path/to/this/directory
make
make install
FengGu [email protected]