oneinstack openssl已经升级依然无法使用http2

问答中心分类: OneinStackoneinstack openssl已经升级依然无法使用http2
puffbaby asked 6 年 ago
nginx -V
nginx version: gws/1.12.1
built by gcc 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
built with OpenSSL 1.0.2l 25 May 2017
TLS SNI support enabled
configure arguments: –prefix=/usr/local/nginx –user=www –group=www –with-http_stub_status_module –with-http_v2_module –with-http_ssl_module –with-ipv6 –with-http_gzip_static_module –with-http_realip_module –with-http_flv_module –with-ld-opt=-ljemalloc –add-module=/root/lnmp/src/headers-more-nginx-module –add-module=/root/lnmp/src/ngx-fancyindex –add-module=/root/lnmp/src/ngx_pagespeed.1.12.34.2 –with-http_geoip_module –with-cc=/opt/rh/devtoolset-2/root/usr/bin/gcc –add-module=/root/lnmp/src/ngx_brotli –add-module=/root/lnmp/src/lua-nginx-module –add-module=/root/lnmp/src/ngx_devel_kit –with-openssl=../openssl-1.0.2l

 
openssl version
OpenSSL 1.0.2l 25 May 2017
为什么升级了openssl 网站访问依然是http1.1.证书使用的是阿里云的免费证书
 
 

1 Answers
oneinstack answered 6 年 ago
对应nginx配置文件是否有如下行:
listen 443 ssl http2;