From 21e02c2ab3f53e711a1e5486a0d14f54e9efd5b9 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 12 Aug 2016 13:40:03 -0700 Subject: [PATCH] add http2 for apache --- apache-site | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apache-site b/apache-site index 90a9837..aaefd9e 100755 --- a/apache-site +++ b/apache-site @@ -103,6 +103,15 @@ if [[ $extra_settings ]]; then cat -- $extra_settings | tee -a /etc/apache2/sites-enabled/$h.conf fi +# go faster! +if [[ -e /etc/apache2/mods-available/http2.load ]]; then + # https://httpd.apache.org/docs/2.4/mod/mod_http2.html + a2enmod http2 +tee -a /etc/apache2/sites-enabled/$h.conf <