Welcome to Centmin Mod Community
Become a Member

Beta Branch update GeoLite2 database routines for Nginx in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 25, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    3:35 PM
    Nginx 1.25.x
    MariaDB 10.x
    update GeoLite2 database routines for Nginx in 130.00beta01

    - Maxmind is now enforcing GeoLite2 database download rate limits as of March 2024 to 30 daily direct API downloads and recommends users to download a copy locally to distribute to many servers if you hit the limits https://support.maxmind.com/hc/en-us/articles/4408216129947-Download-and-Update-Databases
    - Maxmind has been slowly clamping down on the free GeoLite2 database downloads see https://community.centminmod.com/th...eolite2-free-database-download-changes.18960/ and https://community.centminmod.com/th...eolite2-free-database-download-changes.18959/.
    - Centmin Mod uses GeoLIte2 databases in 2 places, 1 is via CSF Firewall it optionally can use GeoLite2 database for IP address geo meta data lookups but defaults to now using alternative geo meta databases like DB-IP instead of GeoLite2 in CSF Firewall config file /etc/csf/csf.conf CC_SRC = "2" variable set as outlined at https://community.centminmod.com/th...eolite2-free-database-download-changes.18960/. The Maxmind changes here will need CSF Firewall developers to update if impacted
    - Centmin Mod's 2nd usage of GeoLite2 database is in optional Nginx GeoLite2 nginx module which isn't enabled by default unless you set in persistent config file /etc/centminmod/custom_config.inc the variable NGINX_GEOIPTWOLITE='y' prior to centmin.sh menu option 4 Nginx upgrade/recompiles or prior to initial Centmin Mod installation. This update is for this second usage case for Nginx GeoLite2 nginx module routine to use cached copy if the Centmin Mod user doesn't setup their own Maxmind API key as outlined under solutions header in post at .https://community.centminmod.com/th...eolite2-free-database-download-changes.18960/
    - Existing Centmin Mod 130.00beta01 users can get this update via cmupdate command

    Continue reading...

    130.00beta01 branch

    Support Centmin Mod

    If you find Centmin Mod useful, please help support Centmin Mod