new patch: upstream consist hash patch

i_amok i_amok iamokcn at
Thu Jun 11 16:04:41 MSD 2009


      i has patch the upstream hash module to support consist hash.
below is patch file and patch method.

patch method:

#patch nginx
cd nginx-0.7.17
patch -p1 < ../nginx.path

#patch upstream hash
cd nginx_upstream_hash-0.3
patch -p1 < ../upstream_hash.path

#download ketama-0.1.1.tar.bz2
cd ketama/libketama
gcc -fPIC -O3 -c md5.c
gcc -shared -o md5.o
cp /usr/local/lib
cp md5.h /usr/local/include

#in case you maybe need edit /etc/  to add the
/usr/local/lib path , then ldconfig

ps: thank for Evan Miller give me help:)

More information about the nginx mailing list