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:
parent
bb61f0da99
commit
40ecb25e75
1 changed files with 3 additions and 0 deletions
|
@ -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}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue