Geo module question

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 ) ?

On Thu, Jul 10, 2008 at 01:16:08AM -0400, Sean A. wrote:

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.

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

The lastest.

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

correct?

On Thu, Jul 10, 2008 at 08:38:46AM -0400, Sean A. wrote:

      192.168.1.0/24   uk;

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?

Yes.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs