We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28f7a80 commit 1eaf411Copy full SHA for 1eaf411
1 file changed
app/Models/Node.php
@@ -2,6 +2,7 @@
2
3
namespace Pterodactyl\Models;
4
5
+use Illuminate\Support\Str;
6
use Symfony\Component\Yaml\Yaml;
7
use Illuminate\Container\Container;
8
use Illuminate\Notifications\Notifiable;
@@ -155,8 +156,8 @@ public function getConfiguration()
155
156
'port' => $this->daemonListen,
157
'ssl' => [
158
'enabled' => (!$this->behind_proxy && $this->scheme === 'https'),
- 'cert' => '/etc/letsencrypt/live/' . $this->fqdn . '/fullchain.pem',
159
- 'key' => '/etc/letsencrypt/live/' . $this->fqdn . '/privkey.pem',
+ 'cert' => '/etc/letsencrypt/live/' . Str::lower($this->fqdn) . '/fullchain.pem',
160
+ 'key' => '/etc/letsencrypt/live/' . Str::lower($this->fqdn) . '/privkey.pem',
161
],
162
'upload_limit' => $this->upload_size,
163
0 commit comments