From f7d564993cd008d403b9d3bfb58cc47769ad74e8 Mon Sep 17 00:00:00 2001 From: Silvie Chlupova Date: Tue, 10 Mar 2020 10:17:00 +0100 Subject: [PATCH] copr-be: prod: inherit CDN cache config from stg --- roles/copr/backend/templates/lighttpd/lighttpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/lighttpd/lighttpd.conf b/roles/copr/backend/templates/lighttpd/lighttpd.conf index c599e2983e..75a6861ded 100644 --- a/roles/copr/backend/templates/lighttpd/lighttpd.conf +++ b/roles/copr/backend/templates/lighttpd/lighttpd.conf @@ -503,6 +503,6 @@ $HTTP["url"] =~ "\.log$" { mimetype.assign = ("" => "text/plain; charset=utf-8" ) } -$HTTP["url"] =~ "/repodata/*" { +$HTTP["url"] =~ "/repomd.xml" { setenv.add-response-header = ( "Cache-Control" => "no-cache") }