我目前正在使用SPDY模块的Nginx 1.4.1。
不幸的是,Nginx的SPDY模块只能用于协议草案2。
有没有办法使用Nginx,SPDY Draft 3?
从我所做的研究来看,SPDY Draft 3目前没有模块。看来发展基本上已经停滞了。 除非你遗憾地编写你自己的模块,否则你运气不好。
你可能想阅读为什么现在spdy / 2为什么(甚至更好)的解释: https : //www.ruby-forum.com/topic/4407760#1084091
Spin / 3现在可用于NGINX。 请参阅以下链接了解安装说明:
http://mailman.nginx.org/pipermail/nginx-devel/2014-January/004890.html
This patch upgrades implementation of SPDY protocol in the ngx_http_spdy_module from draft 2 to draft 3.1. How-to for newbies: 1) Make sure that you have OpenSSL 1.0.1 or later. 2) Download nginx/1.5.9: % wget http://nginx.org/download/nginx-1.5.9.tar.gz 3) Unpack it: % tar xvfz nginx-1.5.9.tar.gz % cd nginx-1.5.9 4) Download and apply the patch: % wget http://nginx.org/patches/patch.spdy-v31.txt % patch -p1 < patch.spdy-v31.txt 5) Configure and build nginx: % ./configure --with-http_ssl_module --with-http_spdy_module % make Hint: have a look at http://nginx.org/en/docs/configure.html and try "./configure --help" for more useful options.
Nginx现在支持1.5.10版本的Spdy Draft 3.1。