Learn about Centmin Mod LEMP Stack today
Become a Member

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:59 PM
    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

    54,546
    12,221
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,790
    Local Time:
    3:59 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    For Centmin Mod .07 stable nginx.conf it's in line 104 of nginx.conf (very last line above } in nginx.conf)