Surface connected domains in Ladill Domains' My Domains
Deploy Ladill Hosting / deploy (push) Successful in 58s
Deploy Ladill Hosting / deploy (push) Successful in 58s
Push the customer's connected domain to the central connected-domains registry so it appears under My Domains (with Transfer in if not registered with Ladill). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
091a8efd85
commit
7e5ca3dce4
@@ -56,6 +56,16 @@ class ProvisionHostingSslJob implements ShouldQueue
|
||||
|
||||
$site->update(['ssl_status' => 'provisioning']);
|
||||
|
||||
// Surface this site's domain in Ladill Domains' "My Domains" (best-effort,
|
||||
// independent of SSL outcome).
|
||||
if ($account->user?->public_id) {
|
||||
app(\App\Services\Ssl\CentralSslRegistry::class)->registerConnectedDomain(
|
||||
$site->domain,
|
||||
(string) $account->user->public_id,
|
||||
'Hosting: '.$site->domain,
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
$provider->requestLetsEncryptCertificate($site);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user