i’m using
apache + http2 (almalinux 8 , debian 10)
and
nginx + http2 (debian 10 , ubuntu 20.04 LTS)
without problem…
on my server centos 7 (with apache) i can’t enable http2 because apache 2.4.6 don’t support http2.
this is my guide for debian/ubuntu with nginx
webmin - servers - nginx
edit configuration files
choose file (for example)
/etc/nginx/sites-available/www.mywebsite.it
…
}
listen 1.2.3.4:443 ssl http2;
…
edit row and append http2 after ssl
this is my guide for almalinux 8 with apache
webmin - servers - apache
global configuration
edit config files
choose file
/etc/httpd/conf.modules.d/10-h2.conf
— there is
LoadModule http2_module modules/mod_http2.so
— append onw row with
Protocols h2 h2c http/1.1
After taking a closer look, it seems that http2 with latest Apache versions simply enabled by default. Virtualmin doesn’t need to do anything to enable it. It will just work.
I have made a deeper look into HTTP2 with Apache topic and how it’s setup on different distros, and now can say that my initial assumptions based on quick look were incorrect.
All details are discussed on the post below for those who is interested and/or want to jump in and share some ideas: