Get the most out of your Centmin Mod LEMP stack
Become a Member

Master Branch add VHOSTCTRL_CLOUDFLAREINC & VHOSTCTRL_AUTOPROTECTINC variables

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 30, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    59,428
    12,532
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,171
    Local Time:
    2:42 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    add VHOSTCTRL_CLOUDFLAREINC & VHOSTCTRL_AUTOPROTECTINC variables

    Add vhost control variables for VHOSTCTRL_CLOUDFLAREINC & VHOSTCTRL_AUTOPROTECTINC which respectively control whether at vhost creation time, the cloudflare.conf include file and autoprotect-vhostname.conf include files are uncommented (enabled) or commented out (disabled) by default. Variables default to VHOSTCTRL_CLOUDFLAREINC='n' & VHOSTCTRL_AUTOPROTECTINC='y' and be overridden via persistent config file /etc/centminmod/custom_config.inc in which you would set VHOSTCTRL_CLOUDFLAREINC='y' & VHOSTCTRL_AUTOPROTECTINC='n' if you wanted to enable cloudflare.conf include file and disable autoprotect include.


    Continue reading...

    Centmin Mod Github Master branch

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