ansible/roles/httpd/reverseproxy/templates
Jakub Kadlcik cc920ed019 httpd: redirect copr /api/ URLs to fedorainfracloud.org
See https://pagure.io/copr/copr/issue/1935

Prevent only /api_2, /api_3, etc from redirectring from
fedoraproject.org to fedorainfracloud.org

I am not entirely sure why do we need these special-cases for API but
you guys are taking care of it and keeping it updated, so it must be
important. If anyone can explain some context, it would be
appreciated. The config is older than my involvement in the Copr
project :-)

Anyway, there is only one /api/ page - https://copr.fedorainfracloud.org/api
and that is not an API endpoint that is programmatically accessed and
that preserves backwards compatibility. It is a page that one opens
in the web browser to find information about API, such as where the
documentation is, and how to obtain an API token.

We would like to apply the redirect from fedoraproject.org to
fedorainfracloud.org even for this page.
2022-01-25 21:43:54 +00:00
..
reversepassproxy.00-ipa.conf The great phx2 pruning run (1st cut). 2020-06-14 14:14:31 -07:00
reversepassproxy.awstats.conf Special-case awstats. 2014-12-08 19:41:05 +00:00
reversepassproxy.candidate-registry.conf proxies / candidate registry: use Rewrite instead of Redirect 2020-10-02 14:42:19 -07:00
reversepassproxy.conf metrics-for-apps: 2021-08-13 20:02:38 +00:00
reversepassproxy.coprapi.conf httpd: redirect copr /api/ URLs to fedorainfracloud.org 2022-01-25 21:43:54 +00:00
reversepassproxy.debuginfod.conf debuginfod proxies: preserve & pass %2F etc. 2021-08-23 11:39:36 +00:00
reversepassproxy.fas3.conf add python2-mock here 2016-09-06 20:15:05 +00:00
reversepassproxy.fp-wiki.conf Whitespace. 2014-12-08 20:53:14 +00:00
reversepassproxy.geoip-city-wsgi-proxy.conf Rename. 2014-12-08 19:33:14 +00:00
reversepassproxy.git.conf The great phx2 pruning run (1st cut). 2020-06-14 14:14:31 -07:00
reversepassproxy.koji.conf The great phx2 pruning run (1st cut). 2020-06-14 14:14:31 -07:00
reversepassproxy.kojipkgs.conf The great phx2 pruning run (1st cut). 2020-06-14 14:14:31 -07:00
reversepassproxy.mirrormanager-mirrorlist.conf redirect mirrors.fp.o/publiclist to admin.fp.o/mirrormanager 2017-02-16 17:56:08 +00:00
reversepassproxy.mirrormanager-redirector.conf proxies / mirrormanager / download redirect: fix https/http mixing 2021-01-06 15:51:08 -08:00
reversepassproxy.mirrormanager.conf Turns out that fedora-alt needs even more than 3 minutes... jeez 2018-05-31 00:39:40 +02:00
reversepassproxy.nagios.conf The great phx2 pruning run (1st cut). 2020-06-14 14:14:31 -07:00
reversepassproxy.registry-centos.conf Add CentOS registry info 2018-02-02 10:08:14 +00:00
reversepassproxy.registry-fedora.conf For now, revert the combined registry, until blocking facts are fixed 2018-04-16 23:55:30 +02:00
reversepassproxy.registry-generic.conf proxies: work around reg path issue 2021-12-02 15:42:37 -08:00
reversepassproxy.sticky-notes.conf Block all traffic for this paste at the proxies 2017-01-23 14:06:42 +00:00