diff --git a/application/socketio/controller/Server.php b/application/socketio/controller/Server.php index cc4bc74..aa62c46 100644 --- a/application/socketio/controller/Server.php +++ b/application/socketio/controller/Server.php @@ -21,8 +21,8 @@ class Server // PHPSocketIO服务 $context = array( 'ssl' => array( - 'local_cert' => '/uploads/cert/chengyigou.cn.crt', - 'local_pk' => '/uploads/cert/chengyigou.cn.key', + 'local_cert' => '/usr/local/nginx/uploads/chengyigou.cn/chengyigou.cn.crt', + 'local_pk' => '/usr/local/nginx/cert/chengyigou.cn/chengyigou.cn.key', 'verify_peer' => false, ) );