From 10f5a23e4bce57bcab01dba169cd423097c2373b Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Tue, 15 Sep 2020 08:34:10 +1000
Subject: [PATCH] zuul-web: fix zuul.openstack.org location match

In I4e5f803b9d4fb6c2351cf151a085b93a7fd20f60 I put the wrong thing in
the zuul.openstack.org config; for that site we want to cache
/api/status; not the tenant path.

Change-Id: Iffbd870aeff496b9c259206f866af3a90a4349db
---
 playbooks/roles/zuul-web/templates/openstack.vhost.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playbooks/roles/zuul-web/templates/openstack.vhost.j2 b/playbooks/roles/zuul-web/templates/openstack.vhost.j2
index e4259b8981..23eae4dc82 100644
--- a/playbooks/roles/zuul-web/templates/openstack.vhost.j2
+++ b/playbooks/roles/zuul-web/templates/openstack.vhost.j2
@@ -59,7 +59,7 @@
   CacheRoot /var/cache/apache2/mod_cache_disk
   CacheMaxFileSize 10000000
 
-  <LocationMatch "^/api/tenant/.*/status">
+  <LocationMatch "^/api/status">
     CacheEnable socache
     CacheEnable disk
   </LocationMatch>