From 921c7b1725f089d8f73c2e4e61a3e64ae70594c1 Mon Sep 17 00:00:00 2001 From: Emmet Young Date: Mon, 23 Jan 2017 11:14:55 +1100 Subject: [PATCH] Configuration JSON should be including the FQDN instead of localhost for the certificate path. --- app/Models/Node.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' => [