mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Whoops, fix a missing stg. in forgejo attachment proxying
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user