[nginx] support http2 per server
Valentin V. Bartenev
vbart at nginx.com
Thu Jun 8 15:25:10 UTC 2017
On Thursday 08 June 2017 23:19:23 洪志道 wrote:
> It sounds right.
>
> According to the same situation, how does http2 protocol force other
> virtual servers to process certificate (ssl handshake).
>
> Example:
>
> server {
> listen 443 http2;
> a.com;
> ssl_certi....;
> }
>
> server {
> listen 443 http2;
> b.com;
> ssl_certi....;
> }
>
> 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.
>
> Thanks.
>
It is called "Connection Reuse" in HTTP/2:
https://tools.ietf.org/html/rfc7540#section-9.1.1
wbr, Valentin V. Bartenev
More information about the nginx-devel
mailing list