Skip to content

Commit 921c7b1

Browse files
committed
Configuration JSON should be including the FQDN instead of localhost for the certificate path.
1 parent 7bd1fbb commit 921c7b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Models/Node.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ public function getConfigurationAsJson($pretty = false)
132132
'listen' => $this->daemonListen,
133133
'ssl' => [
134134
'enabled' => $this->scheme === 'https',
135-
'certificate' => '/etc/letsencrypt/live/localhost/fullchain.pem',
136-
'key' => '/etc/letsencrypt/live/localhost/privkey.pem',
135+
'certificate' => '/etc/letsencrypt/live/' . $this->fqdn . '/fullchain.pem',
136+
'key' => '/etc/letsencrypt/live/' . $this->fqdn . '/privkey.pem',
137137
],
138138
],
139139
'docker' => [

0 commit comments

Comments
 (0)