geoip_country

Syntax: geoip_country file;
Default:
Context: stream

Specifies a database used to determine the country depending on the client IP address. The following variables are available when using this database:

$geoip_country_code
two-letter country code, for example, “RU”, “US”.
$geoip_country_code3
three-letter country code, for example, “RUS”, “USA”.
$geoip_country_name
country name, for example, “Russian Federation”, “United States”.
doc_nginx
2017-02-09 07:06:18
Comments
Leave a Comment

Please login to continue.