evanmiller / Nginx_upstream_hash
An hashing load-balancer for nginx
Stars: ✭ 70
Programming Languages
c
50402 projects - #5 most used programming language
hash directive. This repository remains for historical interest only.
NOTE: This module is obsolete as of Nginx 1.7.2, which includes thengx_http_upstream_hash_module
Installation:
cd nginx-0.7.62 # or whatever
./configure --add-module=/path/to/this/directory
make
make install
Usage:
upstream backend {
...
hash $request_uri;
hash_again 10; # default 0
}
Works the same on 32-bit and 64-bit systems.
See http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule for more details.
Questions/patches to Evan Miller, [email protected].
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].