Update installer_base.lib.php to add missing -d $hostname for both apache and...

Update installer_base.lib.php to add missing -d $hostname for both apache and nginx lines for creating LE SSL certs.
parent ab5306f2
......@@ -2841,9 +2841,9 @@ class installer_base {
// If this is a webserver
if($conf['nginx']['installed'] == true)
exec("$le_client $certonly $acme_version --nginx --email postmaster@$hostname $renew_hook");
exec("$le_client $certonly $acme_version --nginx --email postmaster@$hostname -d $hostname $renew_hook");
elseif($conf['apache']['installed'] == true)
exec("$le_client $certonly $acme_version --apache --email postmaster@$hostname $renew_hook");
exec("$le_client $certonly $acme_version --apache --email postmaster@$hostname -d $hostname $renew_hook");
// Else, it is not webserver, so we use standalone
else
exec("$le_client $certonly $acme_version --standalone --email postmaster@$hostname -d $hostname $hook");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment