X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/eae105ed027c2c1323e413e2c85560988dc2aeec..d5ec1ddeb435659a0863e86fcec491a00ae8cbd7:/cookbooks/apache/templates/default/httpd.conf.erb?ds=sidebyside diff --git a/cookbooks/apache/templates/default/httpd.conf.erb b/cookbooks/apache/templates/default/httpd.conf.erb index add175aa2..ded019d93 100644 --- a/cookbooks/apache/templates/default/httpd.conf.erb +++ b/cookbooks/apache/templates/default/httpd.conf.erb @@ -1,5 +1,10 @@ # DO NOT EDIT - This file is being maintained by Chef +<% if node[:lsb][:release].to_f >= 18.04 -%> +# Enable HTTP/2 over TLS +Protocols h2 http/1.1 + +<% end -%> # Set the number of seconds before receives and sends time out Timeout <%= node[:apache][:timeout] %>