geo module question
Igor Sysoev
is at rambler-co.ru
Thu Jul 10 16:51:02 MSD 2008
On Thu, Jul 10, 2008 at 08:38:46AM -0400, Sean Allen wrote:
> 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?
Yes.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list