Install spdy
nginx supports spdy format starting from 1.5.
http://nginx.org/en/docs/http/ngx_http_spdy_module.html#example
Of course the latest nginx also supports it, which is spdy3.
Add parameters directly when compiling: –with-http_spdy_module. That’s it.
spdy configuration
If spdy is installed successfully, just modify the nginx configuration directly
<code>server { listen 443 ssl spdy; ssl_certificate server.crt; ssl_certificate_key server.key; ... }</code>
Test spdy
Access the interface directly. Using chrome, open chrome://net-internals/#spdy and you can see spdy.
For example:
or use spdy to test the website:
https://spdycheck.org/#google.com
The above introduces nginx to add spdy support and test it, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.