camel/Dengine/nginx_upstream_hash
2015-12-03 13:50:00 +08:00
..
t add Dengine module: dianping nginx 2015-12-03 13:50:00 +08:00
CHANGES add Dengine module: dianping nginx 2015-12-03 13:50:00 +08:00
config add Dengine module: dianping nginx 2015-12-03 13:50:00 +08:00
CREDITS add Dengine module: dianping nginx 2015-12-03 13:50:00 +08:00
ngx_http_upstream_hash_module.c add Dengine module: dianping nginx 2015-12-03 13:50:00 +08:00
README add Dengine module: dianping nginx 2015-12-03 13:50:00 +08:00

== ngx_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, emmiller@gmail.com.