changeset 359:05cad5ba9506

Enable HTTP/2
author IBBoard <dev@ibboard.co.uk>
date Sat, 03 Oct 2020 19:49:56 +0100
parents 6c29af16b177
children 58cf3e347102
files modules/website/manifests/init.pp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/init.pp	Sat Oct 03 19:41:25 2020 +0100
+++ b/modules/website/manifests/init.pp	Sat Oct 03 19:49:56 2020 +0100
@@ -33,12 +33,14 @@
 
   class { 'apache':
     vhost_dir => "/etc/httpd/conf.d/vhosts",
+    protocols => ["h2", "http/1.1"],
     default_mods => false,
     default_vhost => false,
     mpm_module => false,
   }
   class { 'apache::mod::dir': indexes => [ 'index.html' ] }
   class { 'apache::mod::event': }
+  class { 'apache::mod::http2': }
   apache::mod {
     'rewrite':;
     'expires':;