how to use the ngx_http_geo_module

Igor Sysoev is at
Fri Jun 15 21:12:15 MSD 2007

On Sat, Jun 16, 2007 at 12:37:58AM +0800, ?????? wrote:

> how to use the ngx_http_geo_module,can somebody give me a usage example?

The module allows to set variables depending client address:

Then you can use the variables, for example:

    if ($slow) {
        set  $limit_rate   1k;

    if ($forbidden) {
        return 403;

Igor Sysoev

More information about the nginx mailing list