From bf6be45d70df0b35de675a7e0fa40ea843c04479 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 25 Feb 2019 16:47:13 +0100 Subject: [PATCH] Hope that curl fixed their GOAWAY HTTP/2 bug Signed-off-by: Patrick Uiterwijk --- roles/httpd/website/templates/website.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index afedf27eb2..2a6241a77d 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -42,11 +42,10 @@ RequestHeader unset X-Forwarded-For -{% if ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('proxy01.phx2','proxy10.phx2')) and use_h2 %} +{% if ansible_distribution == 'Fedora' and use_h2 %} Protocols h2 http/1.1 {% 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. + # For this website, no h2 available Protocols http/1.1 {% else %} # RHEL7 does not use Protocols