diff --git a/files/httpd/h2.conf.j2 b/files/httpd/h2.conf.j2 index 8aacde89e5..fcb3e10c4b 100644 --- a/files/httpd/h2.conf.j2 +++ b/files/httpd/h2.conf.j2 @@ -1,3 +1,3 @@ -{% if env == "staging" and ansible_distribution == 'Fedora' %} +{% if ansible_distribution == 'Fedora' %} Protocols h2 {% if not inventory_hostname.startswith('proxy') %} h2c {% endif %} http/1.1 {% endif %} diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index e35fa43b90..f66c349295 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -32,7 +32,7 @@ {% endif %} ServerAdmin {{ server_admin }} -{% if env == "staging" %} +{% if ansible_distribution == 'Fedora' %} Protocols h2 http/1.1 {% endif %}