Marcelo MD
June 23, 2016 09:38AM
Ok,

What about the other way around. Is it possible to disable http2 for one
server block, via config or via code?

Other than that, what are the alternatives? One listen on one IP for http2
and on another for http1?

Thanks!

On Thu, Jun 23, 2016 at 7:06 AM, itpp2012 <nginx-forum@forum.nginx.org>
wrote:

> 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))
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,267795,267808#msg-267808
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
Marcelo Mallmann Dias
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 256
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