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