From be40a2bd4e2a7d80aa5958b068d90f754aa453c4 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 17 Apr 2018 23:50:00 +0200 Subject: [PATCH] Enable h2 for httpd/website Signed-off-by: Patrick Uiterwijk --- roles/httpd/website/tasks/main.yml | 1 + roles/httpd/website/templates/website.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/httpd/website/tasks/main.yml b/roles/httpd/website/tasks/main.yml index eb90011fe9..582503788b 100644 --- a/roles/httpd/website/tasks/main.yml +++ b/roles/httpd/website/tasks/main.yml @@ -35,6 +35,7 @@ tags: - httpd - httpd/website + - h2 - name: Copy over some subordinate templates for {{site_name}} template: > diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index 3ca92ddedb..1aed79acb7 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -33,7 +33,7 @@ ServerAdmin {{ server_admin }} {% if ansible_distribution == 'Fedora' %} - # Protocols h2 http/1.1 + Protocols h2 http/1.1 {% endif %} {% if gzip %}