Enable HTTP2 in one of several name-based servers

Marcelo MD lists.md at gmail.com
Wed Jun 22 21:32:47 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160622/002e1b18/attachment.html>


More information about the nginx mailing list