June 23, 2016 06:06AM
Valentin V. Bartenev Wrote:
> What effect do you expect? Since clients are able to request
> different hosts
> using single HTTP/2 connection, closing the connection in one server
> block
> will break everything.

I'm just venting an (untested) idea, some other way to tell the client to revert back to pre-http2 connections when hitting a server block, maybe a simple return would be enough.

connect site.ru (h2)
connect.h2 site2.ru (deny h2, client should revert to http(s))

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

Enable HTTP2 in one of several name-based servers

Marcelo MD June 22, 2016 05:34PM

Re: Enable HTTP2 in one of several name-based servers

Valentin V. Bartenev June 22, 2016 05:36PM

Re: Enable HTTP2 in one of several name-based servers

itpp2012 June 23, 2016 04:35AM

Re: Enable HTTP2 in one of several name-based servers

Valentin V. Bartenev June 23, 2016 05:30AM

Re: Enable HTTP2 in one of several name-based servers

itpp2012 June 23, 2016 06:06AM

Re: Enable HTTP2 in one of several name-based servers

Marcelo MD June 23, 2016 09:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready