Want to subscribe to topics you're interested in?
Become a Member

Beta Branch add NGINX_MAINHOSTNAME_BLANK_INDEX variable in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 5, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    add NGINX_MAINHOSTNAME_BLANK_INDEX variable in 130.00beta01

    - add NGINX_MAINHOSTNAME_BLANK_INDEX='n' variable by default which can be optionally set to NGINX_MAINHOSTNAME_BLANK_INDEX='y' in persistent config file /etc/centminmod/custom_config.inc prior to initial Centmin Mod install runs to empty and serve a blank index.html. The main hostname Nginx vhost's public web root at /usr/local/nginx/html/index.html which is served when you visit Centmin Mod server's main IP address has a specially crafted Nginx default HTML index page with information related to Centmin Mod and how to manage the main hostname Nginx vhost's public web root at /usr/local/nginx/html/index.html for new Centmin Mod users. However, if you are a seasoned Centmin Mod user and do not need such information to be displayed, you can optionally have that main hostname Nginx vhost's public web root index file /usr/local/nginx/html/index.html be empty and serve a blank page to visitors who hit your Centmin Mod server's IP address. The original Centmin Mod index.html will still be available for access at /usr/local/nginx/html/index.html-orig if needed.


    Continue reading...

    130.00beta01 branch