geo module question

Sean Allen sean at monkeysnatchbanana.com
Thu Jul 10 16:38:46 MSD 2008


On Jul 10, 2008, at 1:25 AM, Igor Sysoev wrote:

> On Thu, Jul 10, 2008 at 01:16:08AM -0400, Sean Allen wrote:
>
>>       geo  $country  {
>>            default          no;
>>            include          conf/geo.conf;
>>            127.0.0.0/24     us;
>>            127.0.0.1/32     ru;
>>            10.1.0.0/16      ru;
>>            192.168.1.0/24   uk;
>>        }
>>
>> is from the wiki.
>>
>> if conf/geo.conf happened to have
>>
>> 127.0.0.1/32 ie;
>>
>> in it.
>>
>> which would take precedence?
>> the first definition ( ie ) or the second ( ru ) ?
>
> The lastest.

just to make sure i am understanding correctly,
the latest would be the ru entry in the above example.

correct?






More information about the nginx mailing list