diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index 061c6291b3..5a4c55933e 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -32,8 +32,12 @@ {% endif %} ServerAdmin {{ server_admin }} -{% if ansible_distribution == 'Fedora' %} +{% if ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('proxy01.phx2','proxy10.phx2')) and site_name != 'src.fedoraproject.org' %} Protocols h2 http/1.1 +{% else %} + # For proxy01/10 and src.fedoraproject.org we only do http/1.1 because h2 hits a curl bug downloading sources + # For builds with tons of source files like texlive. + Protocols http/1.1 {% endif %} {% if gzip %}