Configuration JSON should be including the FQDN instead of localhost for the certificate path.

This commit is contained in:
Emmet Young 2017-01-23 11:14:55 +11:00
parent 7bd1fbb14c
commit 921c7b1725

View file

@ -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' => [