proxies / reverseproxy / candidate-registery: redirect top level to catalog

See: https://pagure.io/fedora-infrastructure/issue/8507
Currently https://candidate-registry.fedoraproject.org/ just gives you a
blank page. So instead lets redirect to the catalog to at least show
something to people.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-10-02 13:42:36 -07:00
parent bb61f0da99
commit 40ecb25e75

View file

@ -3,6 +3,9 @@ RequestHeader set X-Scheme https early
RequestHeader set X-Forwarded-Proto https early
ProxyPreserveHost On
# redirect the top / level to the catalog.
Redirect / https://candidate-registry.fedoraproject.org/v2/_catalog
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}