mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user