不考虑加上http/2玩玩?
Tofloor
poster avatar
Feng Yu
deepin
2016-05-27 22:39
Author
本帖最后由 abcfy2 于 2016-5-27 14:53 编辑

http/2协议已经出现两年了,各方评测都还不错。而且bbs.deepin.org服务端使用的是nginx,最新稳定版本1.10也支持http/2,深度也用了let's encrypt的ssl证书。

可以说万事俱备,只差一个配置了

另外,chrome最新版本不再支持NPN协议,只支持ALPN。这意味着服务器的openssl版本最低要1.0.2以上才会支持ALPN。不过对于基于Debian sid的Deepin来说,这个应该不是问题吧?

我的服务器是Ubuntu Server 14.04的,openssl版本是1.0.1f,没法让chrome走http/2协议(firefox没问题) ,ubuntu 16.04的openssl才是1.0.2版本
Reply Favorite View the author
All Replies
avatar
lcw0268
deepin
2016-05-28 00:27
#1
沙发。
支持。
Reply View the author
avatar
方老四
deepin
2016-05-28 00:52
#2
怎样知道,https://网站服务器使用的是http/2协议?
Reply View the author
avatar
Feng Yu
deepin
2016-05-28 01:17
#3
本帖最后由 abcfy2 于 2016-5-27 17:22 编辑
https://bbs.deepin.org/post/39750
怎样知道,https://网站服务器使用的是http/2协议?

在firefox/chrome的开发者工具都可以看到,在网络哪里,打开协议一栏,就可以看到了。
curl只有最新版本才支持http/2,需要编译nghttp2
Reply View the author
avatar
u855697021
deepin
2016-05-28 03:36
#4
最省事的还是装SPDY Indicator,H2、SPDY、QUIC一眼就看出来了...
Reply View the author
avatar
Feng Yu
deepin
2016-05-28 03:43
#5
https://bbs.deepin.org/post/39750
最省事的还是装SPDY Indicator,H2、SPDY、QUIC一眼就看出来了...

以及h2c                  
Reply View the author