Get the most out of your Centmin Mod LEMP stack
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.

  1. jeffwidman

    jeffwidman Active Member

    Dec 3, 2014
    Local Time:
    12: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

    May 24, 2014
    Brisbane, Australia
    Local Time:
    5:59 AM
    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)