Want more timely Centmin Mod News Updates?
Become a Member

Master Branch part 4 update Centmin Mod's Maxmind GeoLite2 database routines in 123…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 6, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    43,132
    9,792
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,122
    Local Time:
    11:27 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    part 4 update Centmin Mod's Maxmind GeoLite2 database routines in 123.09beta01

    Add maxmind geolite2 database API download routine.

    When MM_LICENSE_KEY is set in persistent config file at /etc/centminmod/custom_config.inc, download urls will be set to following variables

    maxmind_city_url="https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=$MM_LICENSE_KEY&suffix=tar.gz"
    maxmind_country_url="https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=$MM_LICENSE_KEY&suffix=tar.gz"
    maxmind_asn_url="https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=$MM_LICENSE_KEY&suffix=tar.gz"

    When MM_LICENSE_KEY is not set, download urls will be set to following variables using last publicly available Dec 23, 2109 version until you set MM_LICENSE_KEY that is

    maxmind_city_url='https://centminmod.com/centminmodparts/geoip2-lite/GeoLite2-City.tar.gz'
    maxmind_country_url='https://centminmod.com/centminmodparts/geoip2-lite/GeoLite2-Country.tar.gz'
    maxmind_asn_url='https://centminmod.com/centminmodparts/geoip2-lite/GeoLite2-ASN.tar.gz'

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.