yamucha 发表于 2016-4-29 09:01:19

请教军哥:lnmp1.3下ssl的问题

nginx: nginx was built with OpenSSL that lacks ALPN and NPN support, HTTP/2 is not enabled for 0.0.0.0:443 in /usr/local/nginx/conf/vhost/www.xxxxx.info.conf:2

重启nginx后提示如上。一直搜索,没明白什么问题,但是目前网站通过https还是可以访问。请问:这是什么原因?需要怎么解决?

licess 发表于 2016-4-29 09:18:59

可能是你系统自带的openssl版本低
openssl version或nginx -V 就能看到你当前的openssl版本

Note that accepting HTTP/2 connections over TLS requires the “Application-Layer Protocol Negotiation” (ALPN) TLS extension support, which is available only since OpenSSL version 1.0.2. Using the “Next Protocol Negotiation” (NPN) TLS extension for this purpose (available since OpenSSL version 1.0.1) is not guaranteed.

via:http://nginx.org/en/docs/http/ngx_http_v2_module.html
页: [1]
查看完整版本: 请教军哥:lnmp1.3下ssl的问题