Valentin V. Bartenev Wrote:
-------------------------------------------------------
> > Is it possible to enable http2 in only one of several name-based
> servers?
> >
> [..]
>
> No, it's not possible.
Would it be a big (api) change to add a server block session flag?
ngx_http_v2_init(ngx_event_t *rev)
...
if ( h2scf.no_http2 ) { /* example server block flag */
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, "http2 disabled in server context");
ngx_http_close_connection(c);
return;
}
...
c->log->action = "processing HTTP/2 connection";
---
nginx for Windows http://nginx-win.ecsds.eu/