• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved http/2 without nginx possible?

Ralph

New Pleskian
Hi folks,

I'm running Apache 2.4.18 / Ubuntu 16.04 / Onyx 17.5.3. and would like to know if and how I can activate http/2 without activating nginx?

Is that possible?

Regards,

Ralph
 
Hi Ralph,

as you already met the basic ( apache >= 2.4.17 ) requirements, you may certainly use "apache - only" as well. At the Plesk documentation you find for example:


with the example command ( for NGINX! ):
Code:
plesk sbin sslmng --services=nginx --custom --ciphers="EECDH+AESGCM+AES128:EECDH+AESGCM+AES256:EECDH+CHACHA20:EDH+AESGCM+AES128:EDH+AESGCM+AES256:EDH+CHACHA20" --protocols="TLSv1 TLSv1.1 TLSv1.2"

You may certainly use the very same command for the apache - service:
Code:
plesk sbin sslmng --services=apache --custom --ciphers="EECDH+AESGCM+AES128:EECDH+AESGCM+AES256:EECDH+CHACHA20:EDH+AESGCM+AES128:EDH+AESGCM+AES256:EDH+CHACHA20" --protocols="TLSv1 TLSv1.1 TLSv1.2"
 
Hi,

thanks for your reply.

Unfortunately, this doesn't works for me. This command seems to set the protocols and the ciphers but it's not activating HTTP/2 (without the use of NGINX).

To get HTTP/2 working I still have to install and activate NGINX, then running "plesk bin http2_pref enable".

Maybe I did something wrong?

Regards,

Ralph
 
From documentation HTTP/2 Support in Plesk :
"HTTP/2 support is available for Plesk customers starting from the version 12.5.30 Update #28 and requires the latest version of nginx."
"... requires the latest version of nginx" means that it only works if the latest version of nginx is used. There is no support for Apache.

Apache does not handle http/2 connections in its core installation. For use with Apache, you need to install and activate mod_httpd2, which is a separate module for Apache that is not delivered with Plesk but needs to be installed separately by you (or a system administrator). It is available for Apache versions newer than 2.4.17. Your Apache qualifies for it. It might then require additional directives in the Apache configuration file.
mod_http2 - Apache HTTP Server Version 2.4
 
You can use HTTP/2 without nginx. Make sure that mod_http2 is installed and enabled, then go to
Apache & nginx settings -> Additional directives for HTTPS
And add the following line:
Code:
Protocols h2 http/1.1
Note: http/1.1 also includes HTTP 1.0 support.

Regards,
Anthony Ananich
 
You can use HTTP/2 without nginx. Make sure that mod_http2 is installed and enabled, then go to
Apache & nginx settings -> Additional directives for HTTPS
And add the following line:
Code:
Protocols h2 http/1.1
Note: http/1.1 also includes HTTP 1.0 support.

Regards,
Anthony Ananich
This does not work.
Enabling http2 in Apache + Directive on domain = http 1.1
 
Back
Top