<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        <Directory /var/www/html/>
            Options Indexes FollowSymLinks
            AllowOverride All
            Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        <IfModule mod_dir.c>
            DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
        </IfModule>


ServerName cdn.nutramax.com
SSLCertificateFile /etc/letsencrypt/live/cdn.nutramax.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cdn.nutramax.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerAdmin webalerts@nutramaxlabs.com
    DocumentRoot /var/www/html/nutramax.biz/erp/
    ServerName biz4.nutramax.com
    ServerAlias erp.nutramax.biz

    <Directory /var/www/html/nutramax.biz/erp/ >
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    <IfModule mod_dir.c>
        DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
    </IfModule>
  

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/biz4.nutramax.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/biz4.nutramax.com/privkey.pem
</VirtualHost>
</IfModule>
