anubis: rename anubis-el8 to anubis-el and see about enabling on download

Looks like the scrapers are hitting the download servers now.
So, look at setting up an anubis pod there like we did for pagure.
anubis package isn't available for epel9, so we just use the container.

Will test this with dl01 and tweak until it's working.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi
2026-01-22 08:50:34 -08:00
parent 57db17afb3
commit 9717d920af
6 changed files with 29 additions and 1 deletions

View File

@@ -32,7 +32,32 @@
SSLProtocol {{ ssl_protocols }}
SSLCipherSuite {{ ssl_ciphers }}
# proxy all requests to anubis after ssl termination
RequestHeader set "X-Real-Ip" expr=%{REMOTE_ADDR}
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set "X-Http-Version" "%{SERVER_PROTOCOL}s"
ProxyPreserveHost On
ProxyRequests Off
ProxyVia Off
ProxyPass / http://[::1]:8923/
ProxyPassReverse / http://[::1]:8923/
</VirtualHost>
# Once anubis has processed the request it sends it to port 3923
Listen 3923 http
<VirtualHost *:3923>
ServerName dl.fedoraproject.org
ServerAlias archive.fedoraproject.org archives.fedoraproject.org secondary.fedoraproject.org download-ib01.fedoraproject.org download-cc-rdu01.fedoraproject.org
ServerAdmin webmaster@fedoraproject.org
Include "conf.d/dl.fedoraproject.org/*.conf"
</VirtualHost>
# Prefork tuning