Compile HTTP2 module by default into Nginx

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
912
Location
🇳🇱
Now that the Nginx stable branch is updated with HTTP/2 support it would be nice if the HTTP/2 module can be compiled by default into Nginx. Now we have to copy the nginx configure file into the custom directory and manually add the module for HTTP/2.

Another feature that would be nice is support for HTTP/2 on the domain settings page (where the php selector option is found). So that HTTP/2 can be easily enabled per domain and there is no need for custom nginx templates. :)
 
Hello,

Note that accepting HTTP/2 connections over TLS requires the “Application-Layer Protocol Negotiation” (ALPN) TLS extension support, which is available only since OpenSSL version 1.0.2. Using the “Next Protocol Negotiation” (NPN) TLS extension for this purpose (available since OpenSSL version 1.0.1) is not guaranteed.

https://nginx.org/en/docs/http/ngx_http_v2_module.html


Probably an adjustable switcher to enable HTTP/2 in options would be good.
 
any update on this ? i also like to see an how too


Hello,

Note that accepting HTTP/2 connections over TLS requires the “Application-Layer Protocol Negotiation” (ALPN) TLS extension support, which is available only since OpenSSL version 1.0.2. Using the “Next Protocol Negotiation” (NPN) TLS extension for this purpose (available since OpenSSL version 1.0.1) is not guaranteed.

https://nginx.org/en/docs/http/ngx_http_v2_module.html


Probably an adjustable switcher to enable HTTP/2 in options would be good.
 
Back
Top