Update MasterDomain.php

This commit is contained in:
Bozhidar 2024-05-13 15:22:02 +03:00
parent a21403a904
commit 8cbd0e2c21

View file

@ -56,7 +56,7 @@ class MasterDomain
if (!empty($apacheBaseConfig)) {
file_put_contents('/etc/apache2/sites-available/zzz-'.$this->domain.'.conf', $apacheBaseConfig);
shell_exec('ln -s /etc/apache2/sites-available/zzz-'.$this->domain.'-default.conf /etc/apache2/sites-enabled/zzz-'.$this->domain.'-default.conf');
shell_exec('ln -s /etc/apache2/sites-available/zzz-'.$this->domain.'.conf /etc/apache2/sites-enabled/zzz-'.$this->domain.'.conf');
}
// Install SSL