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.

已提问 5 个月前516 查看次数
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
专家
已回答 5 个月前
profile pictureAWS
专家
已审核 5 个月前
  • 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
已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则