• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question HTTP2 enabled, Apache still using 1.0

Oldiesmann

Basic Pleskian
At the suggestion of the Advisor extension, I enabled HTTP2 on my server. However, I'm still seeing requests in the logs using HTTP/1.0. Example:

GET /calendar/?viewmonth;year=2022;month=4;day=6; HTTP/1.0

Do I need to reconfigure/rebuild something to get Apache to use HTTP2 instead?
 
I think that Apache in Plesk does not support HTTP/2. The support requires Nginx, and in that case only what is delivered by Nginx uses HTTP/2. Please see the documentation here
HTTP/2 Support in Plesk
and a feature request here
Support for HTTP/2 on APACHE (only) without using nginx as proxy! And Server Push!

Hello Peter, when following the Guide of Torsten, then HTTP/2 is working with Apache. Network Tab on Chrome shows h2. Are there other Configs that i have to follow?

  • just create a file http2.conf in the directory `/etc/apache2/conf-available` with this content:
    ```
    Protocols h2 h2c http/1.1
    ```
    Enable this new configuration: `a2enconf http2`
    and reload it: `systemctl reload apache2`
 
Hello. Enabling HTTP / 2 with apache is simple. Make sure you are on the latest possible version of apache (httpd) 2.4 as well as your OpenSSL version 1.1.1 and above. You enable HTTP / 2 as follows (ubuntu):

a2enmod http2
nano /etc/apache2/conf-available/http2.conf (add add the content contained in quotes "Protocols h2 h2c http/1.1")
a2enconf http2
systemctl restart apache2

Please note that HTTP / 2 only works with HTTPS (Litespeed works with HTTP if you enable this setting in the control panel at port 7088).

If you want to be more sure, add the quotes above to apache2.conf again and proceed to restart apache2. Congratulations on having apache2 with http2 on your server.

1599099978923.png
 
Last edited:
Hello. Enabling HTTP / 2 with apache is simple. Make sure you are on the latest possible version of apache (httpd) 2.4 as well as your OpenSSL version 1.1.1 and above. You enable HTTP / 2 as follows (ubuntu):

a2enmod http2
nano /etc/apache2/conf-available/http2.conf (add add the content contained in quotes "Protocols h2 h2c http/1.1")
a2enconf http2
systemctl restart apache2

Please note that HTTP / 2 only works with HTTPS (Litespeed works with HTTP if you enable this setting in the control panel at port 7088).

If you want to be more sure, add the quotes above to apache2.conf again and proceed to restart apache2. Congratulations on having apache2 with http2 on your server.

View attachment 17492
Hi!

As far as I fulfill the criteria (Apache 2.4, OpenSSL 1.1.1), I am going to try this on Debian 9.13 / Plesk Obsidian 18.0.34.

Can you tell me how to go back in case it does not work?
If it does, that will be great for me to use HTTP/2 without Nginx...

Thanks for your help!
Lrnt
 
Hi!

As far as I fulfill the criteria (Apache 2.4, OpenSSL 1.1.1), I am going to try this on Debian 9.13 / Plesk Obsidian 18.0.34.

Can you tell me how to go back in case it does not work?
If it does, that will be great for me to use HTTP/2 without Nginx...

Thanks for your help!
Lrnt
Well this does not work. HTTP1.1 always...
 
Back
Top