1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-02 13:06:09 +02:00
infrastructure/roles/redirects/defaults/main.yml
Giancarlo Razzolini dbaee79ee5 Redirect status to the non CNAME version for now
Until we get our situation with uptimerobot fixed, we are redirecting
status.archlinux.org to the standard uptimerobot URL, that is provided
with their free plan. Once/if we re-gain our premium access, we can
simply revert this MR.
2023-06-29 19:21:36 +00:00

28 lines
939 B
YAML

# Every entry creates a redirect listening on port 80 and 443 with the following parameters:
# - domain: the domain to listen on
# - to: the redirect target as defined by the nginx return statement
# - type: HTTP status code to use (302 = temporary redirect, 301 = permanent redirect)
# - map: the mapping file
redirects:
- mailman:
domain: mailman.archlinux.org
to: https://lists.archlinux.org$request_uri
type: 301
- static.conf:
domain: static.conf.archlinux.org
to: https://gitlab.archlinux.org/archlinux/conf-files/-/raw/master$request_uri
type: 302
- coc:
domain: coc.archlinux.org
to: https://terms.archlinux.org/docs/code-of-conduct/
type: 302
- cgit:
domain: git.archlinux.org
to: https://gitlab.archlinux.org
type: 301
map: maps/cgit-migrated-repos.map
- status:
domain: status.archlinux.org
to: https://stats.uptimerobot.com/vmM5ruWEAB
type: 302