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, 'listen' => $this->daemonListen,
'ssl' => [ 'ssl' => [
'enabled' => $this->scheme === 'https', 'enabled' => $this->scheme === 'https',
'certificate' => '/etc/letsencrypt/live/localhost/fullchain.pem', 'certificate' => '/etc/letsencrypt/live/' . $this->fqdn . '/fullchain.pem',
'key' => '/etc/letsencrypt/live/localhost/privkey.pem', 'key' => '/etc/letsencrypt/live/' . $this->fqdn . '/privkey.pem',
], ],
], ],
'docker' => [ 'docker' => [