From: Ian Kelling Date: Fri, 12 Aug 2016 20:40:03 +0000 (-0700) Subject: add http2 for apache X-Git-Url: https://iankelling.org/git/?p=basic-https-conf;a=commitdiff_plain;h=21e02c2ab3f53e711a1e5486a0d14f54e9efd5b9 add http2 for apache --- 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 <