WIN-2308041133\Administrator 2 ヶ月 前
コミット
2322a3d46d
1 ファイル変更2 行追加2 行削除
  1. 2 2
      socket.php

+ 2 - 2
socket.php

@@ -26,8 +26,8 @@ if (!is_dir(LOG_PATH)) {
 
 // ========== SSL 证书配置(WSS 必须) ==========
 // 宝塔证书默认文件名:fullchain.pem(证书)、privkey.pem(私钥)
-$ssl_cert_path = __DIR__ . '/config/ssl/fullchain.pem';    // 证书文件
-$ssl_key_path  = __DIR__ . '/config/ssl/privkey.pem';     // 私钥文件
+$ssl_cert_path = __DIR__ . '/www/wwwroot/api.myjie.cn/config/ssl/fullchain.pem';    // 证书文件
+$ssl_key_path  = __DIR__ . '/www/wwwroot/api.myjie.cn/config/ssl/privkey.pem';     // 私钥文件
 
 $context = [];
 if (file_exists($ssl_cert_path) && file_exists($ssl_key_path)) {