diff --git a/app/Models/Node.php b/app/Models/Node.php index 7c113b2f..478a6907 100644 --- a/app/Models/Node.php +++ b/app/Models/Node.php @@ -132,8 +132,8 @@ class Node extends Model 'listen' => $this->daemonListen, 'ssl' => [ 'enabled' => $this->scheme === 'https', - 'certificate' => '/etc/letsencrypt/live/localhost/fullchain.pem', - 'key' => '/etc/letsencrypt/live/localhost/privkey.pem', + 'certificate' => '/etc/letsencrypt/live/' . $this->fqdn . '/fullchain.pem', + 'key' => '/etc/letsencrypt/live/' . $this->fqdn . '/privkey.pem', ], ], 'docker' => [