# 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
