Welcome! Log In Create A New Profile

Advanced

Re: Advertise NPN without SPDY

Matthieu Tourne
November 19, 2012 12:52PM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Advertise NPN without SPDY

eiji-gravion November 18, 2012 02:26AM

Re: Advertise NPN without SPDY

Valentin V. Bartenev November 19, 2012 05:52AM

Re: Advertise NPN without SPDY

Matthieu Tourne November 19, 2012 12:52PM

Re: Advertise NPN without SPDY

Piotr Sikora November 19, 2012 02:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready