From 239525d1615608e38d3d52cef6c4d83f0917aa5c Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 11 Mar 2021 07:57:11 -0500 Subject: [PATCH] reversepassproxy.registry-generic.conf: sync staging Flatpak index names In the regindexer => flatpak-indexer move, the index names for the 'latest' tag were renamed from flatpak.json to flatpak-latest.json (and so forth.) --- .../templates/reversepassproxy.registry-generic.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf index c0a456c7ef..2a08637a2f 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf @@ -77,11 +77,11 @@ RewriteRule "^/index/static$" /index/flatpak-testing-%1-annotations.json [L,PT] RewriteCond "&%{QUERY_STRING}" &label(%3A|:)org.flatpak.ref(%3A|:)exists=1 RewriteCond "&%{QUERY_STRING}" &architecture=([^&]+) -RewriteRule "^/index/static$" /index/flatpak-%1.json [L,PT] +RewriteRule "^/index/static$" /index/flatpak-latest-%1.json [L,PT] RewriteCond "&%{QUERY_STRING}" &annotation(%3A|:)org.flatpak.ref(%3A|:)exists=1 RewriteCond "&%{QUERY_STRING}" &architecture=([^&]+) -RewriteRule "^/index/static$" /index/flatpak-%1-annotations.json [L,PT] +RewriteRule "^/index/static$" /index/flatpak-latest-%1-annotations.json [L,PT] RewriteCond "&%{QUERY_STRING}" &label(%3A|:)org.flatpak.ref(%3A|:)exists=1 RewriteCond "&%{QUERY_STRING}" &tag=testing @@ -92,10 +92,10 @@ RewriteCond "&%{QUERY_STRING}" &tag=testing RewriteRule "^/index/static$" /index/flatpak-testing-annotations.json [L,PT] RewriteCond "&%{QUERY_STRING}" &label(%3A|:)org.flatpak.ref(%3A|:)exists=1 -RewriteRule "^/index/static$" /index/flatpak.json [L,PT] +RewriteRule "^/index/static$" /index/flatpak-latest.json [L,PT] RewriteCond "&%{QUERY_STRING}" &annotation(%3A|:)org.flatpak.ref(%3A|:)exists=1 -RewriteRule "^/index/static$" /index/flatpak-annotations.json [L,PT] +RewriteRule "^/index/static$" /index/flatpak-latest-annotations.json [L,PT] {% endif %} DocumentRoot /srv/web/registry-index/