From d4a36c7c74c39d0b8e1bf179b86518f5cac5ef6c Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 7 Jun 2024 14:06:58 -0400 Subject: [PATCH] debuginfod: add /metadata* reverse proxy URL prefix Upcoming versions of elfutils/debuginfod support a new webapi URL prefix. --- .../reverseproxy/templates/reversepassproxy.debuginfod.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.debuginfod.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.debuginfod.conf index 0c4b84352a..c2e4c0f1b6 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.debuginfod.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.debuginfod.conf @@ -4,6 +4,9 @@ AllowEncodedSlashes NoDecode # Reverse-proxy /buildid/* queries ProxyPassMatch "^/buildid/(.*)$" "{{proxyurl}}/buildid/$1" {{proxyopts}} +# Reverse-proxy /metadata* queries +ProxyPassMatch "^/metadata(.*)$" "{{proxyurl}}/metadata$1" {{proxyopts}} + # Reverse-proxy /metrics - without (...) grouping op, URL just gets copied ProxyPassMatch "^/metrics$" "{{proxyurl}}" {{proxyopts}}