Http\Server 需要依赖nghttp2库,下载nghttp2后编译安装使用HTTP2不一定要开启SSL nginx+swoole配置 通过读取$request->header['x-real-ip']来获取客户端的真实