Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #12

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 0 additions & 53 deletions README

This file was deleted.

67 changes: 67 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
Nginx Upstream Fair Proxy Load Balancer
============

Description
-------

The Nginx fair proxy balancer enhances the standard round-robin load balancer provided
with Nginx so that it will track busy back end servers (e.g. Thin, Ebb, Mongrel)
and balance the load to non-busy server processes.

Installation
-------

You'll need to re-compile Nginx from source to include this module.
Modify your compile of Nginx by adding the following directive
(modified to suit your path of course):

```bash
./configure --with-http_ssl_module --add-module=/absolute/path/to/nginx-upstream-fair
make
make install
```


Configuration
-------
*Example*

upstream backend {
fair;
server server1;
server server2;
server server3;
}

The module supports a number of configuration directives:
* syntax: **fair**

context: upstream

Enables fairness.


* syntax: **upstream_fair_shm_size \<size\>;**

context: main

default: upstream_fair_shm_size 32k

Size of the shared memory for storing information about the busy-ness of backends. Defaults to 8 pages
(so 32k on most systems).

Usage
-------

Change your Nginx config file's upstream block to include the 'fair' directive:


If you encounter any issues, please report them using the [bugtracker](https://github.com/gnosek/nginx-upstream-fair/issues)

Contributing
-------

Git [source repository](http://github.com/gnosek/nginx-upstream-fair/tree/master)

Please feel free to fork the project at GitHub and submit pull requests or patches.

Empty file added README.ru.md
Empty file.