From 08f04c6d3628973bc66ee12fbcd3275ab874e51f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 18 Dec 2025 17:44:54 -0800 Subject: [PATCH] Whoops, fix a missing stg. in forgejo attachment proxying Signed-off-by: Adam Williamson --- roles/httpd/reverseproxy/templates/reversepassproxy.forge.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.forge.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.forge.conf index 1310ebb851..f6e7447277 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.forge.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.forge.conf @@ -16,7 +16,7 @@ SSLProxyCACertificateFile "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem" # to repo. As all repos must have an org in Forgejo, if there are more # than two directories before /issue, this must be repo-relative; the # third match will be either pagurerepo or pagureorg/pagurerepo -ProxyPassMatch ^/(.+?)/(.+?)/(.+?)/issue/raw/files/(.*)$ https://pagure.io/$3/issue/raw/files/$4 +ProxyPassMatch ^/(.+?)/(.+?)/(.+?)/issue/raw/files/(.*)$ https://stg.pagure.io/$3/issue/raw/files/$4 # This match handles cases where the link is rendered relative to the # server root; if we didn't hit the first match, the first match here