From 3852f60c12cb7b164b81e1f98419bac7e00e17e3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 10 Jul 2018 20:17:59 +0000 Subject: [PATCH] fix torrent02 web config --- roles/httpd/website/templates/website.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index 32fcad219e..c18b76607b 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -40,10 +40,12 @@ {% 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 %} +{% elif ansible_distribution == 'Fedora' %} # 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 +{% else %} + # RHEL7 does not use Protocols {% endif %} {% if gzip %}