| |
@@ -0,0 +1,8 @@
|
| |
+ # Redirect links from Fedora Forge for Pagure attachments
|
| |
+ {% if env == "staging" %}
|
| |
+ ProxyPassMatch ^/(.+?)/issue/raw/files/(.*)$ https://stg.pagure.io/$1/issue/raw/files/$2
|
| |
+ {% else %}
|
| |
+ ProxyPassMatch ^/(.+?)/issue/raw/files/(.*)$ https://pagure.io/$1/issue/raw/files/$2
|
| |
+ {% endif %}
|
| |
+
|
| |
+ {% include 'reversepassproxy.conf' %}
|
| |
\ No newline at end of file
|
| |
redirect attachment file requests from Fedora Forge to Pagure for migrated
projects, allowing attachments to remain on this existing instance without
needing to be migrated.
Signed-off-by: Akashdeep Dhar akashdeep.dhar@gmail.com