]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/templates/default/httpd.conf.erb
Enable HTTP/2 over TLS on 18.04
[chef.git] / cookbooks / apache / templates / default / httpd.conf.erb
index add175aa29e54df20ce612d426ee50fa22c6e73a..ded019d938923030895ba2794244eb62c743ad0f 100644 (file)
@@ -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] %>