Discover Centmin Mod 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:
    8:29 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

    50,456
    11,659
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,078
    Local Time:
    1:29 PM
    Nginx 1.25.x
    MariaDB 10.x
    For Centmin Mod .07 stable nginx.conf it's in line 104 of nginx.conf (very last line above } in nginx.conf)