WIN-2308041133\Administrator 1 vecka sedan
förälder
incheckning
a7580cf9ff
1 ändrade filer med 4 tillägg och 3 borttagningar
  1. 4 3
      socket.php

+ 4 - 3
socket.php

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