diff --git a/files/httpd/h2.conf.j2 b/files/httpd/h2.conf.j2 index 8c8015cf28..2627ea8a32 100644 --- a/files/httpd/h2.conf.j2 +++ b/files/httpd/h2.conf.j2 @@ -1,2 +1 @@ -Protocols http/1.1 -#Protocols h2 {% if not inventory_hostname.startswith('proxy') %} h2c {% endif %} http/1.1 +Protocols h2 {% if not inventory_hostname.startswith('proxy') %} h2c {% endif %} http/1.1 diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index a0bdeb44e7..061c6291b3 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -33,8 +33,7 @@ ServerAdmin {{ server_admin }} {% if ansible_distribution == 'Fedora' %} - Protocols http/1.1 -# Protocols h2 http/1.1 + Protocols h2 http/1.1 {% endif %} {% if gzip %}