]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/default.rb
Enable HTTP/2 over TLS on 18.04
[chef.git] / cookbooks / apache / recipes / default.rb
index 989755f67a4e04f333cc542c6b91ee1a08b24dd8..bc0410fd3fb3bb4ef7e5d7e38ee35d44a1bd94a5 100644 (file)
@@ -36,6 +36,10 @@ apache_module "mpm_#{node[:apache][:mpm]}" do
   action [:enable]
 end
 
+if node[:lsb][:release].to_f >= 18.04
+  apache_module "http2"
+end
+
 admins = data_bag_item("apache", "admins")
 
 apache_conf "httpd" do