• 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

Question Apache HTTP2

Seba

Basic Pleskian
I know that HTTP2 is available just over Nginx but I was wandering if this solution could work.

How to enable apache-http/2 in centos 7?

I tried this on my Centos 7 no Plesk server and it works but it will work also with Plesk?

Now is available repo from codeit.guru for CentOS 7, it can be enabled:

Code:
cd /etc/yum.repos.d && wget https://repo.codeit.guru/codeit.el`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`.repo

If apache is already installed, yum update will update apache, it even enables mod_http2.
Otherwise, fresh installation of apache can be done.

Put Protocols h2 http/1.1 within ssl.conf as Mozilla suggests
Restart apache, http/2 is ready.
 
What i need is Apache in HTTP2 because with my stack Nginx doesn't help at all to speed up my app, sadly the mapping software rely on the Apache daemon and after severals tests the only way is Apache in HTTP2
 
What i need is Apache in HTTP2 because with my stack Nginx doesn't help at all to speed up my app, sadly the mapping software rely on the Apache daemon and after severals tests the only way is Apache in HTTP2

I don't know if it's possible, but in anycase, it's very, very strange, that using nginx, your aps is more slow that without nginx... In fact, not using apache but only nginx, should increase the performance, in all benchmark, nginx is much more speeder than apache.

You also can change apache by litespeed, that is incluse better than nginx for us, but it's not free in this case. Depending of your case, can be an solution.
 
that is because you are not using mapping software like this (mapCache module of MapServer) Compilation & Installation — MapServer 7.4.2 documentation (to note that Nginx module require to build Nginx from source and is still experimental)
and the WMS software Welcome to MapServer — MapServer 7.4.2 documentation doesn't even mention the use of Nginx, so you need to redirect everything to Apache.
I don't know if you are familiar with mapping but a map (in a 25 inch monitor) can ask up to something like 80/110 images to fill the whole monitor.

The tests I've done in Nginx show a little improvement but Apache in HTTP2 increase up to 50% while Nginx is just a 10% faster.
 
Last edited:
that is because you are not using mapping software like this Compilation & Installation — MapServer 7.4.2 documentation (to note that Nginx module require to build Nginx from source and is still experimental)
and the WMS software Welcome to MapServer — MapServer 7.4.2 documentation doesn't even mention the use of Nginx, so you need to redirect everything to Apache.
I don't know if you are familiar with mapping but a map (in a 25 inch monitor) can ask up to something like 60/80 images to fill the whole monitor.

The tests I've done in Nginx show a little improvement but Apache in HTTP2 increase up to 50% while Nginx is just a 10% faster.

I effectively don't know your special case, just have experience about use with standar configuration/component of apache/nginx/litespeed (about wordpress with very hight traffic for example) and apache have the worst result of the 3 web servers, but in your case with your specific requirement, I can't really help you, sometime review if litespeed is an option for you.
 
Back
Top