Forum: NGINX Advertise NPN without SPDY

Posted by eiji-gravion (Guest)
on 2012-11-18 08:27
(Received via mailing list)
Hello,

Is there a way for nginx to advertise the NPN extension without the use 
of
SPDY?

I'm asking because Chrome disables SSL False Start by default, unless 
the
NPN extension is advertised, and I don't want to use SPDY right now.


Thanks

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,232960,232960#msg-232960
Posted by Valentin V. Bartenev (Guest)
on 2012-11-19 11:51
(Received via mailing list)
On Sunday 18 November 2012 11:26:44 eiji-gravion wrote:
> Hello,
>
> Is there a way for nginx to advertise the NPN extension without the use of
> SPDY?

Currently no, there is not.

 wbr, Valentin V. Bartenev

--
http://nginx.com/support.html
http://nginx.org/en/donation.html
Posted by Matthieu Tourne (Guest)
on 2012-11-19 18:50
(Received via mailing list)
Hello,


On Mon, Nov 19, 2012 at 2:50 AM, Valentin V. Bartenev 
<vbart@nginx.com>wrote:

> On Sunday 18 November 2012 11:26:44 eiji-gravion wrote:
> > Hello,
> >
> > Is there a way for nginx to advertise the NPN extension without the use
> of
> > SPDY?
>

I think you can do this fairly easily, mostly using nginx conf and
eventually 3rd party modules.

You could use headers_more[1] to always return the Alternate Protocol
headers.

Or this Lua snippet [2] (see ngx_lua module [3]), which will only
adverstise SPDY if a client is not already using it.

Happy hacking,
Matthieu.


[1] http://wiki.nginx.org/HttpHeadersMoreModule
[2] https://gist.github.com/4112241
[3] http://wiki.nginx.org/HttpLuaModule
Posted by Piotr Sikora (Guest)
on 2012-11-19 20:48
(Received via mailing list)
Hello,

> I think you can do this fairly easily, mostly using nginx conf and
> eventually 3rd party modules.

You can't - NPN is advertised during SSL handshake.

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.