about what SPDY is, you can view this article in the Geek Park SPDY what is it? How to deploy SPDY
Although Spdy is not currently a standard protocol, Google Chrome,chromium,mozilla Firefox,opera,ie11 has supported the SPDY protocol. Spdy can shorten the loading time of the Web page, so that your pages will be more quickly displayed in front of users , there is a need to deploy spdy in this respect alone.
Spdy enforces the use of the SSL transport protocol, which requires that we must have an SSL certificate. There is no shortage of free lunches on the Internet, and we can use STARTSSL for a free one-year SSL certificate.
Then modify the nginx.conf settings:
Copy Code code as follows:
server {
Listen 443 SSL spdy;
server_name jb51.net www.jb51.net;
Ssl_certificate SSL.CRT;
Ssl_certificate_key Ssl.key;
#此处省略N个字符 ...
}
Then restart the Nginx service,
Copy Code code as follows:
sudo service nginx restart
If you have not added Spdy support before installing Nginx, you will be prompted to enable the Spdy required Ngx_http_spdy_module module.
Recompile installation Nginx and add –with-http_spdy_module:
Copy Code code as follows:
#./configure--prefix=/usr/local/nginx-1.4.4 \
--with-http_ssl_module \
--with-http_spdy_module \
--with-http_stub_status_module \
--with-pcre ...
#.. The other modules you need
Restart the Nginx server again.
How do I check to see if I have supported Spdy? Use this site below:
http://spdycheck.org/#jb51. Net
or open your website first, and then look at the chrome:
chrome://net-internals/#spdy
Check to see if Spdy sessions has your website address.