如何在nginx 1.4.1中启用spdy模块?

我在Ubuntu 13.04中安装了nginx 1.4.1

sudo add-apt-repository ppa:nginx/stable sudo apt-get install update sudo apt-get install nginx 

当我运行nginx -V它会返回nginx version: nginx/1.4.1以及其他configuration细节,但是我没有看到任何spdy模块configuration。

那么我怎样才能configurationspdy模块后安装或我必须重新安装从源代码和传递自定义configuration?

如果没有编译SPDY模块,则不能激活它。 从源代码编译nginx是非常容易的,所以你可能需要删除从存储库安装的东西( sudo apt-get purge nginx ),并自己编译它SPDY的支持。 如果你想在自己的GitHub仓库中编译自己的脚本 , 如果你曾经编译过一些东西,它应该可以帮助你。 否则就编译nginx创build另一个问题。

相关的链接

  • ngx_http_spdy_module