#2959 pagure: setup passthrough for attachment file requests
Closed 2 days ago by kevin. Opened 19 days ago by t0xic0der.
fedora-infra/ t0xic0der/ansible perm  into  main

@@ -174,6 +174,9 @@ 

    ProxyRequests Off

    ProxyVia Off

  

+   # Passthrough for attachment files for Fedora Forge attachment referencing

+   ProxyPassMatch ^/(.+?)/issue/raw/files/(.*)$ http://[::1]:3923/$1/issue/raw/files/$2

+ 

    ProxyPass / http://[::1]:8923/

    ProxyPassReverse / http://[::1]:8923/

  

Attachment URLs are referenced from Fedora Forge for migrated projects.
These requests need to bypass Anubis and go directly to the Pagure WSGI
app to ensure attachments are served reliably.

Yet another jab at fixing https://forge.fedoraproject.org/forge/forge/issues/275

@kevin @ryanlerch Thanks in advance for taking a look at this! :D

Signed-off-by: Akashdeep Dhar akashdeep.dhar@gmail.com

Pull-Request has been closed by kevin

2 days ago
Metadata