__DIR__ . '/cert.pem', 'key' => __DIR__ . '/key.rsa', 'passphrase' => '', ], ); $server->onRequest(new DocumentServer( documentRoot: __DIR__, useDirectoryListing: true )); $server->listen();