Sergey Kandaurov
June 07, 2022 07:12AM
> On 7 Jun 2022, at 13:41, Peter Volkov <peter.volkov@gmail.com> wrote:
>
> Hi.
>
> After we enabled HTTP/2 in nginx some old software started to fail. So we would like to have HTTP v2 enabled in general but disabled for some specific IP:PORT. I've tried two listen directives in server block:
>
> listen IP:443 ssl http2;
> listen IP:1443 ssl;
>
> The problem is that on both ports I see: * ALPN: offers h2. Is it possible to disable HTTP v2 for specific IP:PORT?

nginx offers HTTP/2 ALPN on IP:PORT configured to accept HTTP/2 connections.
Make sure you have no the "http2" option on a particular IP:1443 elsewhere,
as "http2" attributes to all virtual servers sharing such IP:PORT.

--
Sergey Kandaurov

_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

How to disable http v2

pva June 07, 2022 05:42AM

Re: How to disable http v2

Sergey Kandaurov June 07, 2022 07:12AM

Re: How to disable http v2

pva June 07, 2022 09:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready