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