Welcome! Log In Create A New Profile

Advanced

Re: GeoIP

agz
September 08, 2015 02:02AM
Она в бинарном формате. Формат закрытый.
Будет ли так работать:

if ($remote_addr = 1.2.3.0/24) {
set $allowed_country yes;
}

if ($allowed_country = no) {
return 444;
}

nginx не ругается, но как проверить что работает?
Можно ли указывать сеть как аргумент, вместо одного IP?
Subject Author Posted

geoip

slyab February 19, 2015 12:30AM

Re: geoip

Anton Yuzhaninov February 19, 2015 06:02AM

Re: geoip

Andrey Kopeyko February 19, 2015 03:22PM

Re: geoip

Andrey Kopeyko February 19, 2015 05:20PM

Re: geoip

slyab February 19, 2015 09:52PM

Re: geoip

slyab February 20, 2015 12:30AM

Re: geoip

Andrey Kopeyko February 20, 2015 04:44AM

Re: geoip

slyab February 20, 2015 05:05AM

Re: geoip

Oleg Motienko February 25, 2015 04:00PM

Re: GeoIP

mva September 07, 2015 04:18PM

Re: GeoIP

Dmitry Ivanov September 08, 2015 01:10AM

Re: GeoIP

agz September 08, 2015 02:02AM

Re: GeoIP

Sergey Bochkov September 08, 2015 02:10AM

Re: GeoIP

agz September 08, 2015 02:22AM

Re: GeoIP

Ruslan Ermilov September 08, 2015 03:52AM

Re: GeoIP

agz September 08, 2015 04:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready