nginx http2 support #70
Comments
:) I'm sticking to the stable 1.8 branch of Nginx because of compatibility issues with 3rd-party module. I'm afraid this will have to wait until 1.10/2.0 has been tagged as stable. |
On the other hand nginx stable may contain more bugs then mainline. They only port critical bugfixes back to stable. +1 for mainline |
@gplessis It's stable now
|
Hello! Any plans to move to 1.10 + latest ngx_pagespeed closest time? Is there something I can do to make it happen? |
I'll provide Nginx 1.10 asap. |
1.10 packages were built for Wheezy and Jessie : https://ci.dotdeb.org/job/dotdeb-nginx/ Feel free to test on your development environments. |
It looks like having http2 support in Nginx will be hard :
https://ma.ttias.be/day-google-chrome-disables-http2-nearly-everyone-may-31st-2016/ |
i have OpenSLL 1.0.2 on wheezy and https://tools.keycdn.com/http2-test still reports no ALPN support for reference openssl upgrade guide https://blog.okturtles.com/2014/04/how-to-update-openssl-on-debian-testing-jessie-for-heartbleed/ |
@hugomrdias That will not work, since Nginx is still linked against libssl1.0.0 and not libssl1.0.2. I don't think Debian will be backporting OpenSSL 1.0.2, since every package that links against OpenSSL would also have to be backported for support. If you want ALPN support, your only options are to:
Also, keep in mind that HTTP/2 is still usable on Jessie! Only Chrome has dropped support for NPN. It should still work with Firefox, Safari, IE, or Edge. |
Does it sound too harsh to statically link appropriate version of OpenSSL? Of course that brings extra hassle to track down security issues with 1.0.2, but hopefully they are not SO frequent. |
@gplessis thanks for your work, I use your package in production for a long time now. |
for those interested, you can build nginx with openssl 1.0.2 statically linked by adding the prragma |
There's openssl 1.0.2h in jessie-backports now. Of course this does not help out of the box, as nginx has to be (re-)compiled against this to pick up the API changes for ALPN support. |
Yes, and nginx debian package in jessie-backports now use openssl 1.0.2 from jessie-backports to be able to use http2/alpn. |
I'm thinking about including OpenSSL 1.0.2 directly from jessie-backports and to rebuild nginx against it. |
You mean include openssl directly in dotdeb repository ? this is a big responsibility :) |
Ok, I now have a build with full http2 support thanks to jessie-backports. To install it :
Then you should be able to upgrade your nginx packages. Please confirm that it enables full http2 support (with ALPN negotiation) on your environment. |
I can also confirm that it works. |
Yai \o |
Thank you guys |
Wow. Flawless timing. Just adding one more voice that the alternate repo version works. Thank you. |
nginx added http2 support but seems be also on jessie backports not available.
https://www.nginx.com/blog/early-alpha-patch-http2/
http://nginx.org/patches/http2/
client support
http://caniuse.com/#feat=http2 ... 52.01% client support now ...
The text was updated successfully, but these errors were encountered: