Want more timely Centmin Mod News Updates?
Become a Member

Nginx Domain Vhost Conf

Discussion in 'Install & Upgrades or Pre-Install Questions' started by gasak, Aug 28, 2017.

  1. gasak

    gasak New Member

    28
    3
    3
    May 15, 2017
    Ratings:
    +5
    Local Time:
    5:40 AM
    1.13.0
    10.1.23-MariaDB
    Please fill in any relevant information that applies to you:
    • CentOS Version: 6 64bit
    • Centmin Mod Version Installed: 23.09beta01
    • Nginx Version Installed: 1.13.4
    • PHP Version Installed: 5.6.31
    • MariaDB MySQL Version Installed: 10.1.26
    • When was last time updated Centmin Mod code base? : run centmin.sh menu option 23 submenu option 2
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc? No
    Hi @eva2000,

    Is there any way of precompile settings for domain vhost conf so that whenever I add domain with option 2 this below line automatically commented out?

    PHP:
    #try_files $uri $uri/ /index.php?q=$uri&$args;
    So I don't need to edit domain.com.conf every time I add a domain to the server. Please advise. Thank you.
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,569
    6,854
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,274
    Local Time:
    8:40 AM
    Nginx 1.13.x
    MariaDB 5.5
  3. gasak

    gasak New Member

    28
    3
    3
    May 15, 2017
    Ratings:
    +5
    Local Time:
    5:40 AM
    1.13.0
    10.1.23-MariaDB
    Ok I'll give a shot. Thank you.
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,569
    6,854
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,274
    Local Time:
    8:40 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. gasak

    gasak New Member

    28
    3
    3
    May 15, 2017
    Ratings:
    +5
    Local Time:
    5:40 AM
    1.13.0
    10.1.23-MariaDB
    Centmin is so damn awesome! Thanks a lot @eva2000 You're incredible ;)
     
    • Like Like x 1
    • Agree Agree x 1