Update Domain.php

This commit is contained in:
Bozhidar 2024-08-05 14:51:34 +03:00
parent f77ccb6929
commit 13c729a625

View file

@ -406,12 +406,14 @@ class Domain extends Model
// }
}
if (is_file($sslCertificateFile)) {
$apacheVirtualHostBuilder->setPort(443);
$apacheVirtualHostBuilder->setSSLCertificateFile($sslCertificateFile);
$apacheVirtualHostBuilder->setSSLCertificateKeyFile($sslCertificateKeyFile);
$apacheVirtualHostBuilder->setSSLCertificateChainFile($sslCertificateChainFile);
$virtualHostSettingsWithSSL = $apacheVirtualHostBuilder->getSettings();
}
}