Welcome! Log In Create A New Profile

Advanced

Enable HTTP2 in one of several name-based servers

Marcelo MD
June 22, 2016 05:34PM
Hi,

Is it possible to enable http2 in only one of several name-based servers?

I have the following scenario:

server {
listen 443 ssl;
server_name www.example.com;
ssl_certificate www.example.com.crt;
...
}

server {
listen 443 ssl http2;
server_name www.example.org;
ssl_certificate www.example.org.crt;
...
}

Enabling http2 in the second server makes the first respond http2 as well.

In my use case I have a few servers using modules that are not
http2-compatible yet.

Is there anything I'm missing?

Thanks!


--
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: 111
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready