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