не работает geo-модуль.

Михаил Монашёв postmaster at softsearch.ru
Tue Feb 8 17:56:27 MSK 2005


Здравствуйте nginx-ru,

Вот мой конфиг:

worker_processes  5;

error_log  logs/error.log;
pid        logs/nginx.pid;


events {
        connections  2048;
        use kqueue;
}


http {
        include       conf/mime.types;
        default_type  application/octet-stream;

        sendfile         on;
        tcp_nopush       on;
        tcp_nodelay      on;
        send_lowat       12000;

        geo country {
                default  II;
                include  conf/ipranges;
        }

        gzip on;
        gzip_min_length  1100;
        gzip_buffers     4 64k;
        gzip_types       text/html
... далее список виртуальных серверов

conf/ipranges начинается вот так:

2.6.190.56/29 GB
3.0.0.0/8 US
4.0.0.0/12 US
4.16.0.0/16 US
4.17.0.0/17 US
4.17.128.0/21 US
4.17.136.0/22 US
4.17.140.0/23 US
4.17.142.0/24 US
4.17.143.0/28 CA
4.17.143.16/28 US
4.17.143.32/27 US

До бекенда поле country не доходит :-(

Я что-то неправильно написал?


С уважением,
Михаил Монашёв, SoftSearch.ru
Member of Independent Software Developers Forum (ISDEF)
mailto:postmaster at softsearch.ru
ICQ# 166233339
http://softsearch.ru/
Без бэкапа по жизни.






More information about the nginx-ru mailing list