nginx 启动 http2后出现错误:net::ERR_CONNECT
在centos 7上 配置nginx,并启动http2 后报错:net::ERR_CONNECT ,但是在windows的测试服务器上是正确的,切换到linux上就报错。
域名支持https,证书配置都没有问题
openssl 在centos7上的版本是1.1.0e
输入 nginx -V后显示的信息如下:
nginx version: nginx/1.11.3
built by gcc 3.4.6 20060404 (Red Hat 3.4.6-3)
built with OpenSSL 1.0.2i 22 Sep 2016
TLS SNI support enabled
configure arguments: --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-
http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --
with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_stub_status_module --
with-mail --with-mail_ssl_module --with-ipv6 --with-stream --with-stream_ssl_module --with-threads --user=www --group=www