How to enable HTTP/2 on AWS Lightsail WordPress Instance

0

I am currently managing a WordPress instance on AWS Lightsail and would like to enable HTTP/2 for improved website performance. Could you please confirm if HTTP/2 is supported on AWS Lightsail, specifically for WordPress instances? If supported, what are the recommended steps or best practices to enable HTTP/2 on my WordPress instance? Are there any considerations or potential issues I should be aware of when enabling HTTP/2 on my Lightsail instance? Please note that I have limited coding knowledge, so any step-by-step instructions or guidance suitable for non-technical users would be highly beneficial. I would greatly appreciate any insights or assistance you can provide on this matter.

已提問 10 個月前檢視次數 768 次
2 個答案
1

Hello.

Is the WordPress you use Bitnami?
If so, please enable Apache's HTTP/2 module by following the steps in the document below.
https://docs.bitnami.com/aws/apps/wordpress/configuration/enable-modules/#mod_http2

After enabling Apache's HTTP/2 module, it should be enabled by adding settings to VirtualHost using the steps in the document below.
https://docs.bitnami.com/aws/apps/wordpress/administration/enable-http2-apache/

profile picture
專家
已回答 10 個月前
profile pictureAWS
專家
已審閱 10 個月前
  • Tried this but still doesn't work.

0

Has anyone found a solution to this? Http/2 on lightsail does not seem to be working. I added all the necessary entries to the server side. Apachctl -M return Http/2 as loaded, but client browsers all report http 1.1 connection. All the test tools for http2, return Http2 not supported and also "ALPN extension not supported". Any ideas?

Bobk
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南