Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f0ae839c34

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 t First commit. October 19, 2009
Octocat-spinner-32 CHANGES Support for servers marked "down". June 03, 2010
Octocat-spinner-32 CREDITS Support for servers marked "down". June 03, 2010
Octocat-spinner-32 README
Octocat-spinner-32 config Support for servers marked "down". June 03, 2010
Octocat-spinner-32 nginx.patch
Octocat-spinner-32 ngx_http_upstream_hash_module.c
README
== ngx_http_upstream_hash_module ==

Installation:

    cd nginx-0.7.62 # or whatever
    patch -p0 < /path/to/this/directory/nginx.patch
    ./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.
Something went wrong with that request. Please try again.