http2=1 enabled by default for supported OSs

Version 1.52


Debian 9 has ALPN compiled into openssl by default. DirectAdmin will use an #ifdef to control the default state of the http2= setting in internal directadmin.conf settings. The actual directadmin.conf will still override it. So the short version of this is, Debian 9 will have http2 enabled by default. CustomBuild 2 will read the DA setting and adjust the httpd.conf accordingly. Note that mod_php won't work, since http2 won't support prefork anymore.. so we may set Debian 9 to use php-fpm by default.

Interested to try DirectAdmin? Get a 30-day Free Trial!