SPDY add_header with Alternate-Protocol

Valentin V. Bartenev vbart at nginx.com
Thu Jan 15 18:35:47 UTC 2015


On Thursday 15 January 2015 18:11:46 Richard Fussenegger wrote:
> But isn't nginx advertising them without manual adding of such headers? 
> I mean, why configure SPDY on the listen directive when it isn't going 
> to be used by clients (which is not the case, all browsers happily 
> connect via SPDY).
[..]

They use SPDY because it's advertised during TLS handshake using
NPN/ALPN TLS extensions.

The "Alternate-Protocol" header was introduced for cases when no
other mechanisms available (e.g. for plain HTTP connections).

  wbr, Valentin V. Bartenev



More information about the nginx-devel mailing list