Join the community today
Register Now

Nginx Where in the main nginx conf does it pickup the vhost files?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by jeffwidman, Dec 11, 2014.

Tags:
  1. jeffwidman

    jeffwidman Active Member

    152
    27
    28
    Dec 3, 2014
    Ratings:
    +51
    Local Time:
    9:29 AM
    New to Nginx, so I was reading through their docs, and it looks like the standard way to handle multiple domains on the same server is to configure a single nginx.conf file, with separate server blocks for each domain.

    I know Centminmod actually creates separate conf files for each add-on domain... where in the main Nginx config is the include directive that says to include these additional conf files?

    I looked manually and couldn't find anything, and grep didn't turn up anything either, so I assume it's some kind of *.conf line that I'm just not seeing?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    2:29 AM
    Nginx 1.13.x
    MariaDB 5.5
    For Centmin Mod .07 stable nginx.conf it's in line 104 of nginx.conf (very last line above } in nginx.conf)
     
    • Like Like x 1