Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 1.23 KB
<IfModule mod_maxminddb.c>
MaxMindDBEnable On
MaxMindDBFile CITY_DB /usr/share/GeoIP/GeoLite2-City.mmdb
# MaxMindDBFile COUNTRY_DB /usr/share/GeoIP/GeoLite2-Country.mmdb
MaxMindDBFile ISP_DB /usr/share/GeoIP/GeoIP2-ISP.mmdb
MaxMindDBFile ASN_DB /usr/share/GeoIP/GeoLite2-ASN.mmdb
MaxMindDBEnv GEOIP_CONTINENT_CODE CITY_DB/continent/code
MaxMindDBEnv GEOIP_COUNTRY_CODE CITY_DB/country/iso_code
MaxMindDBEnv GEOIP_COUNTRY_NAME CITY_DB/country/names/en
MaxMindDBEnv GEOIP_REGISTERED_COUNTRY_CODE CITY_DB/registered_country/iso_code
MaxMindDBEnv GEOIP_REGISTERED_COUNTRY_NAME CITY_DB/registered_country/names/en
MaxMindDBEnv GEOIP_REGION_NAME CITY_DB/subdivisions/0/names/en
MaxMindDBEnv GEOIP_REGION CITY_DB/subdivisions/0/iso_code
MaxMindDBEnv GEOIP_CITY CITY_DB/city/names/en
MaxMindDBEnv GEOIP_LONGITUDE CITY_DB/location/longitude
MaxMindDBEnv GEOIP_LATITUDE CITY_DB/location/latitude
MaxMindDBEnv GEOIP_POSTAL_CODE CITY_DB/postal/code
MaxMindDBEnv GEOIP_DISTRICT_NAME CITY_DB/subdivisions/1/names/en
MaxMindDBEnv GEOIP_ISP ISP_DB/isp
MaxMindDBEnv GEOIP_ORGANIZATION ISP_DB/organization
MaxMindDBEnv GEOIP_PARENT_ISP ASN_DB/autonomous_system_organization
</IfModule>
You can’t perform that action at this time.