ngx_stream_geoip_module
示例配置
stream {
geoip_country GeoIP.dat;
geoip_city GeoLiteCity.dat;
map $geoip_city_continent_code $nearest_server {
default example.com;
EU eu.example.com;
NA na.example.com;
AS as.example.com;
}
...
}指令
geoip_country
geoip_city
geoip_org
原文档
最后更新于