nginx 1.9 支持http2 协议
来源:互联网 发布:js抛物线添加到购物车 编辑:程序博客网 时间:2024/06/05 00:44
本文的原文连接是: http://blog.csdn.net/freewebsys/article/details/50471862 未经博主允许不得转载。
博主地址是:http://blog.csdn.net/freewebsys
1,关于HTTP2
最近升级了下nginx,发现原本的spdy支持被移除了,支持http2了。
这个是非常好的消息呢。于是直接编译安装了下。
编译参数:增加了统计和 realip和 http2模块
./configure --with-http_stub_status_module --with-http_realip_module --with-http_v2_modulegmakegmake install
2,配置
非常简单替换之前的spdy成 http2 即可:
server { listen 80 http2; server_name www.demo.com;...
重启服务即可
3,测试
有网站提供http2 测试。
https://http2-check.com/t/google.com
还有网站专门演示了下http2的效果:
https://http2.akamai.com/demo
4,总结
http2对用户体验非常好,增加上也挺好的。毕竟速度快大家都喜欢。google的浏览器就支持http2。
0 0
- nginx 1.9 支持http2 协议
- nginx启用对HTTP2的支持
- nginx如何启用对HTTP2的支持 | nginx如何验证HTTP2是否已启用
- http2 协议
- Ubuntu 配置 Nginx http2.0 支持 (二) 编译&配置Nginx 与 pagespeed
- nginx http2配置
- nginx+http2+https
- Nginx 上配置 HTTP2
- nginx 配置http2.0
- nginx https http2
- nginx http2 源码分析
- HTTP2协议规范详述
- http2协议翻译
- HTTP2.0协议
- 解决Nginx配置http2不生效,谷歌浏览器仍然采用http1.1协议问题
- nginx配置http2无效不起作用
- Nginx上部署HTTPS + HTTP2
- 让curl命令支持http2
- ubuntu命令行输出铃声
- 时间复杂度和空间复杂度(2)
- 《Spring实战》学习笔记-第二章:装配Bean
- 155Min Stack
- error: symbol(s) not found for architecture x86_64
- nginx 1.9 支持http2 协议
- MySQL5.6.12 Waiting for commit lock导致从库hang住的问题剖析
- CentOS7 上部署Elasticsearch,Fluentd and Kibana
- 提高篇 第9节-函数的嵌套使用
- 数据库表空间
- 实例10:带选择头像的用户注册页面
- 前端开发工具sumlime
- 1010. 一元多项式求导 (25)
- 学习写Android.mk