Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch add LOCALCENTMINMOD_MIRROR variable in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 5, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    30,613
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,304
    Local Time:
    8:52 PM
    Nginx 1.13.x
    MariaDB 5.5
    add LOCALCENTMINMOD_MIRROR variable in 123.09beta01

    defaults to LOCALCENTMINMOD_MIRROR='https://centminmod.com' and is the base prefix domain defined and used for local fallback mirror downloads served from centminmod.com. Can be altered to point to Cloudflare backed mirror at https://centmin.sh in case centminmod.com isn't working correctly i.e. https://community.centminmod.com/posts/37462/

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,613
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,304
    Local Time:
    8:52 PM
    Nginx 1.13.x
    MariaDB 5.5
    Updated 123.09beta01 to add LOCALCENTMINMOD_MIRROR variable support Beta Branch - add LOCALCENTMINMOD_MIRROR variable in 123.09beta01 | Centmin Mod Community

    When Centmin Mod downloads fail, in 123.09beta01 the key downloads have fallback mirrors housed on my centminmod.com domain's geodns cluster. But if the local centminmod.com mirrors have issues there would be no other options. This new LOCALCENTMINMOD_MIRROR variable allows you to change where the local centmin mod mirror is linked to.

    The default setting in centmin.sh is
    Code (Text):
    LOCALCENTMINMOD_MIRROR='https://centminmod.com'
    

    Now if you have issues you can set persistent config file at /etc/centminmod/custom_config.inc (create file if doesn't exist), and set in it the variable to override centmin.sh file set version
    Code (Text):
    LOCALCENTMINMOD_MIRROR='https://centmin.sh'
    

    the centmin.sh mirrors are backed by Cloudflare to my geodns based centminmod.com cluster origin so that Cloudflare can communicate with anyone of my 12+ geodns directed server clusters.