Q: http2 and http1 virtual hosts both works via HTTP/2 - bug of feature?

Maxim Dounin mdounin at mdounin.ru
Wed May 24 14:39:14 UTC 2023


Hello!

On Wed, May 24, 2023 at 01:07:00AM +0300, Andrey Kulikov wrote:

> Observed nginx's version 1.22.1 questionable behaviour with two virtual
> hosts, one with H2 - enabled, second without http2 support.
> Both on the same IP and port, with different domain names/server names.
> When browsers make requests to a second domain, h2 being ALPN-negotiated,
> and data transferred via HTTP/2, in spite of http2 was not configured on
> that virtual host.

This is a mailing list about nginx development.  For user-level 
questions, please use the nginx@ mailing list instead.  Thank you.

[...]

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx-devel mailing list