From d42014c74040d904a15d776552a9cba9526dc23c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 28 May 2025 19:49:32 -0700 Subject: [PATCH] httpd: set a few conf files as optional for initial installs Due to ordering, these config files don't get copied over before the first time httpd gets restarted. Setting them as optional should allow initial runs to work better. Signed-off-by: Kevin Fenzi --- roles/httpd/website/templates/website.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index 705fee06ee..a0b2cb6fcd 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -21,13 +21,13 @@ {% endif %} {% if site_name == "fedoraproject.org" %} - Include "conf.d/fedoraproject.org/expires.conf" + IncludeOptional "conf.d/fedoraproject.org/expires.conf" Include "conf.d/fedoraproject.org/logs.conf" Alias /static/hotspot.txt /srv/web/hotspot.txt {% endif %} {% if site_name == "src.fedoraproject.org" %} - Include "conf.d/src.fedoraproject.org/expires.conf" + IncludeOptional "conf.d/src.fedoraproject.org/expires.conf" {% endif %} {% if sslonly %}