服務器按文檔配置了SSL 文檔: <?php require_once __DIR__ . '/vendor/autoload.php'; use Workerman\Worker; use PHPSocketIO\SocketIO; // 傳入ssl選項,包含證書的路徑 $context = array( 'ssl' => array( 'local_cert' => ...