diff --git a/version.txt b/version.txt index 26e4390..0417257 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -38 Year Of the Noodle Dragon \ No newline at end of file +39 Year Of the Noodle Dragon \ No newline at end of file diff --git a/xray.php b/xray.php index e0fa4f5..9fc3f4e 100644 --- a/xray.php +++ b/xray.php @@ -156,8 +156,8 @@ function xrayGenerateConfig($port, string $network = 'xhttp') $streamSettings['security'] = 'tls'; $streamSettings['tlsSettings'] = [ 'certificates' => [[ - 'certificateFile' => '/opt/DragonCore/ssl/fullchain.pem', - 'keyFile' => '/opt/DragonCore/ssl/privkey.pem', + 'certificateFile' => '/opt/DragonCoreSSL/fullchain.pem', + 'keyFile' => '/opt/DragonCoreSSL/privkey.pem', ]], 'alpn' => ['http/1.1'], ]; @@ -448,7 +448,7 @@ function xrayListUsers() function xrayCert(string $domain) { - $sslDir = '/opt/DragonCore/ssl'; + $sslDir = '/opt/DragonCoreSSL'; $keyFile = $sslDir . '/privkey.pem'; $crtFile = $sslDir . '/fullchain.pem';