VPS侦探论坛

 找回密码
 注册
查看: 3913|回复: 1

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

[复制链接]
发表于 2016-4-29 09:01:19 | 显示全部楼层 |阅读模式

nginx: [warn] 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还是可以访问。请问:这是什么原因?需要怎么解决?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 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
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-4-18 12:03 , Processed in 0.025215 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表