VPS侦探论坛

 找回密码
 注册
查看: 3606|回复: 3

centos6.5 1.3升级后http2没支持

[复制链接]
发表于 2017-5-22 10:57:58 | 显示全部楼层 |阅读模式

centos6.5 1.3版本升级

wget -c https://soft.vpser.net/lnmp/lnmp1.4beta.tar.gz && tar zxf lnmp1.4beta.tar.gz && cd lnmp1.4 && ./upgrade1.x-1.4.sh


nginx/1.10.3

添加ssl后发现 http2不支持

我现在应该怎么做才可以让他支持http2
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-5-22 11:59:26 | 显示全部楼层


nginx -V 看一下参数,如果参数里是使用了openssl-1.0.2的话就是完美支持http2了的,没有的话就需要升级一下nginx
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-5-22 14:13:18 | 显示全部楼层

[root@BX-DX-105 lnmp1.4]# nginx -V
nginx version: nginx/1.10.3
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)
built with OpenSSL 1.0.2k  26 Jan 2017
TLS SNI support enabled
configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-ipv6 --with-http_sub_module --with-openssl=/root/lnmp1.4/src/openssl-1.0.2k --with-google_perftools_module

看起来像有openssl-1.0.2k 不知道对不对 只是这么放http2就打不开 ,gooogle浏览器打开报ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY错误
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-5-22 19:47:16 | 显示全部楼层

回复 3# 的帖子




chrome浏览器是什么版本?其他浏览器也报错吗

配置文件里ssl_ciphers改动过吗

openssl s_client -connect  域名:443  贴上返回信息或短消息我域名看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-26 05:23 , Processed in 0.025599 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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