HTTP/2 is the volution of the HTTP/1.1 protocol, originally developed by Google as SPDY it’s now a standard, and gives webserver faster responses to visitors.
First of all make sure your webserver is HTTP/2 enabled.
For nginx:
nginx -V 2>&1 | grep v2
it should show –with-http_v2_module. nginx/1.10.3 shipped with Ubuntu 16.04 has that enabled.
For Apache run
a2enmod http2
if it returns an error the module is not present. Apache2 shipped with Ubuntu 16.04 doesn’t have the module available, but if you install it from Ondrej repositories it should work. Beware that it can break the stability of the system.
Once the webserver is ready let’s go on ISPConfig control panel.
Go to System > Server Config > yourserver > Web > SSL Settings and enable the option Makes SPDY available.
After the checkbox is enabled you can enable HTTP/2 on your website.
Go to Sites > your site > SSL and at the bottom of the page you’ll have the option to enable SPDY there too.
I’m wondering why ISPConfig still calls it SPDY instead of HTTP/2, maybe because they’re waiting to merge #3868.
Image from sessionstack.
Does Ubuntu 18.04 LTS in original version http2 included? If it is so, I would prefer to Upgrade instead of this workaround here. Maybe you can give me an answer for my question?
This is not a workaround. It’s just a configuration setting! If you ask about Apache yes, Ubuntu18’s package includes http2 module. See here
https://packages.ubuntu.com/bionic/amd64/apache2/filelist
I upgraded to 18.04, because package is included. The rest with ISPC3 was helpful. I think it is working 🙂