Mercurial > repos > other > Puppet
comparison modules/website/manifests/init.pp @ 359:05cad5ba9506
Enable HTTP/2
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 03 Oct 2020 19:49:56 +0100 |
parents | aad5c00b0525 |
children | df5ad1612af7 |
comparison
equal
deleted
inserted
replaced
358:6c29af16b177 | 359:05cad5ba9506 |
---|---|
31 "font-src" => "'self'" | 31 "font-src" => "'self'" |
32 } | 32 } |
33 | 33 |
34 class { 'apache': | 34 class { 'apache': |
35 vhost_dir => "/etc/httpd/conf.d/vhosts", | 35 vhost_dir => "/etc/httpd/conf.d/vhosts", |
36 protocols => ["h2", "http/1.1"], | |
36 default_mods => false, | 37 default_mods => false, |
37 default_vhost => false, | 38 default_vhost => false, |
38 mpm_module => false, | 39 mpm_module => false, |
39 } | 40 } |
40 class { 'apache::mod::dir': indexes => [ 'index.html' ] } | 41 class { 'apache::mod::dir': indexes => [ 'index.html' ] } |
41 class { 'apache::mod::event': } | 42 class { 'apache::mod::event': } |
43 class { 'apache::mod::http2': } | |
42 apache::mod { | 44 apache::mod { |
43 'rewrite':; | 45 'rewrite':; |
44 'expires':; | 46 'expires':; |
45 'env':; | 47 'env':; |
46 'setenvif':; | 48 'setenvif':; |