mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update Domain.php
This commit is contained in:
parent
f77ccb6929
commit
13c729a625
1 changed files with 7 additions and 5 deletions
|
@ -406,12 +406,14 @@ class Domain extends Model
|
|||
// }
|
||||
}
|
||||
|
||||
$apacheVirtualHostBuilder->setPort(443);
|
||||
$apacheVirtualHostBuilder->setSSLCertificateFile($sslCertificateFile);
|
||||
$apacheVirtualHostBuilder->setSSLCertificateKeyFile($sslCertificateKeyFile);
|
||||
$apacheVirtualHostBuilder->setSSLCertificateChainFile($sslCertificateChainFile);
|
||||
if (is_file($sslCertificateFile)) {
|
||||
$apacheVirtualHostBuilder->setPort(443);
|
||||
$apacheVirtualHostBuilder->setSSLCertificateFile($sslCertificateFile);
|
||||
$apacheVirtualHostBuilder->setSSLCertificateKeyFile($sslCertificateKeyFile);
|
||||
$apacheVirtualHostBuilder->setSSLCertificateChainFile($sslCertificateChainFile);
|
||||
|
||||
$virtualHostSettingsWithSSL = $apacheVirtualHostBuilder->getSettings();
|
||||
$virtualHostSettingsWithSSL = $apacheVirtualHostBuilder->getSettings();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue