SPDY instead of HTTP2 on Nginx 1.10

时间:2016-07-11 20:33:45

标签: nginx http2 spdy

I just upgrade a server and decide to install latest stable Nginx version, 1.10.

The problem is that I am getting the error bellow on images and js. I do not get this error on all images, and it is random error.

Failed to load resource: net::ERR_SPDY_PROTOCOL_ERROR

I try to use spdy on config but I get a warn and test failed.

nginx: [warn] invalid parameter "spdy": ngx_http_spdy_module was superseded by ngx_http_v2_module

Anyway to use SPDY until HTTP2 is more acceptable on Nginx 1.10? Looking for a simple fix that could be done only on Nginx conf.

1 个答案:

答案 0 :(得分:0)

我找到了这个补丁

https://blog.cloudflare.com/open-sourcing-our-nginx-http-2-spdy-code/

但昨天我的间谍错误减少了。升级服务器时,我的代码也出错了。