[nginx] support http2 per server

洪志道 hongzhidao at gmail.com
Thu Jun 8 15:19:23 UTC 2017

It sounds right.

According to the same situation, how does http2 protocol force other
virtual servers to process certificate (ssl handshake).


server {
    listen 443 http2;

server {
    listen 443 http2;

We assume sni is 'a.com', then the connection contains different requests
with different domains.
That b.com will escape from ssl handshake. In fact, we need it to do the
ssl handshake.


On Thu, Jun 8, 2017 at 10:17 PM, Valentin V. Bartenev <vbart at nginx.com>

> On Thursday 08 June 2017 12:07:29 洪志道 wrote:
> > Hi!
> > Now, http2 is enabled globally for 'listen' directive with ip:port.
> > It seems it's possible to enable by server with sni, alpn, npn.
> > Take a look, please.
> >
> [..]
> How will "sni, alpn, npn" prevent browser from asking other virtual
> servers using already opened HTTP/2 connection?
>    wbr, Valentin V. Bartenev
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170608/7a5d262c/attachment.html>

More information about the nginx-devel mailing list