Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Install nginx as a reverse proxy, add spdy to the server directive. Enjoy.


So the spdy directive also does http/2? I seem to remember looking for HTTP/2 support in NGINX and finding that they only support it in the commercial version?


No, but FF and Chrome which are the main browsers currently supporting HTTP/2 also support SPDY/3.1.

I don't know where you saw that nginx commercial has HTTP/2 (it's not mentioned on the nginx feature matrix[1]), but their announcement[2] stated that both open and commercial versions would be getting HTTP/2 support by end of year.

[1] http://nginx.com/products/feature-matrix/

[2] http://nginx.com/blog/how-nginx-plans-to-support-http2/


SPDY is an experimental protocol that does much of what HTTP/2 does ( you can think of it as the beta version of HTTP/2). It will be phased out starting next year over favor of the real protocol but people use it now with nginx.


thank you, I have been looking for this exact explanation. Ive been wondering why everyone keeps recommending SPDY when this whole thing is about http2




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: