map я использую. в секции http:
geoip_country /usr/share/GeoIP/GeoIP.dat;
map $geoip_country_code $allowed_country {
default yes;
US no;
UK no;
}
Или что то другое Вы имели ввиду?
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,256777,261501#msg-261501