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

No newdomain.com.conf.

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Imgbi, Jan 23, 2022.

  1. Imgbi

    Imgbi New Member

    4
    1
    3
    Jan 23, 2022
    Ratings:
    +1
    Local Time:
    7:42 AM
    Nginx 1.21.5
    MariaDB 10
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit.
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.21.5
    • PHP Version Installed: 8.1.2
    • MariaDB MySQL Version Installed: 10.2.xx
    • When was last time updated Centmin Mod code base ? : Today
    • Persistent Config: LETSENCRYPT_DETECT='y'

    Wanted to add Nginx Rewrites For Xenforo Friendly Urls code but noticed the conf file does not exist.
    Please is this normal?

    I mean
    Code:
    /usr/local/nginx/conf/conf.d/mydomain.com.conf
    Just saw

    Code:
    /usr/local/nginx/conf/conf.d/demodomain.com.conf
    /usr/local/nginx/conf/conf.d/mydomain.com.ssl.conf
    virtual.conf
    
    
    But no
    Code:
    /usr/local/nginx/conf/conf.d/mydomain.com.conf


     
  2. eva2000

    eva2000 Administrator Staff Member

    48,417
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    4:42 PM
    Nginx 1.21.x
    MariaDB 10.x
    If you created Nginx vhost via centmin.sh menu option 2, 22 or nv command or addons/acemtool.sh and selected Letsencrypt or HTTPS default, then the non-HTTPS nginx vhost at domain.com.conf is removed and only domain.com.ssl.conf is required for HTTPS default usage.
     
  3. Imgbi

    Imgbi New Member

    4
    1
    3
    Jan 23, 2022
    Ratings:
    +1
    Local Time:
    7:42 AM
    Nginx 1.21.5
    MariaDB 10
    Copy, boss.
    Thanks for the clarification.