Wednesday, April 27, 2016

Nginx upgrade to new stable 1.10 switch spdy to http2

nginx just release 1.10 stable.

After upgrade on my Debian server hosting the, it shows error message:

nginx: [warn] invalid parameter "spdy": ngx_http_spdy_module was superseded by ngx_http_v2_module in /etc/nginx/sites-enabled/milliondollarserver.com_ssl:4

My old /etc/nginx/sites-enabled/milliondollarserver.com_ssl config file is:
server {
listen 443 ssl spdy;

replace spdy by http2, restart the service.

server {
listen 443 ssl http2;

/etc/nginx/sites-enabled# service nginx restart

Everything goes normal.

Please let me know if you have any difficult on HTTP2.

No comments:

Post a Comment