1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/matrix/defaults/main.yml
Jan Alexander Steffens (heftig) 7c2d112870
matrix: Replace mjolnir with draupnir
Mjolnir does not support Node 20.
2024-04-09 00:01:06 +02:00

61 lines
1.9 KiB
YAML

matrix_max_upload_size: 100M
matrix_nginx_config:
- name: draupnir
port: 8010
locations:
- path: "~ ^/_matrix/client/r0/rooms/([^/]*)/report/(.*)$"
pass: "/api/1/report/$1/$2"
add_cors: true
- name: federation_reader
port: 8011
locations:
- "~ ^/_matrix/federation/v1/event/"
- "~ ^/_matrix/federation/v1/state/"
- "~ ^/_matrix/federation/v1/state_ids/"
- "~ ^/_matrix/federation/v1/backfill/"
- "~ ^/_matrix/federation/v1/get_missing_events/"
- "~ ^/_matrix/federation/v1/publicRooms"
- "~ ^/_matrix/federation/v1/query/"
- "~ ^/_matrix/federation/v1/make_join/"
- "~ ^/_matrix/federation/v1/make_leave/"
- "~ ^/_matrix/federation/(v1|v2)/send_join/"
- "~ ^/_matrix/federation/(v1|v2)/send_leave/"
- "~ ^/_matrix/federation/(v1|v2)/invite/"
- "~ ^/_matrix/federation/v1/event_auth/"
- "~ ^/_matrix/federation/v1/timestamp_to_event/"
- "~ ^/_matrix/federation/v1/exchange_third_party_invite/"
- "~ ^/_matrix/federation/v1/user/devices/"
- "~ ^/_matrix/key/v2/query"
- "~ ^/_matrix/federation/v1/hierarchy/"
- "~ ^/_matrix/federation/v1/send/"
- name: media_repository
port: 8013
locations:
- "~ ^/_matrix/media/"
- "~ ^/_synapse/admin/v1/purge_media_cache$"
- "~ ^/_synapse/admin/v1/room/.*/media.*$"
- "~ ^/_synapse/admin/v1/user/.*/media.*$"
- "~ ^/_synapse/admin/v1/media/.*$"
- "~ ^/_synapse/admin/v1/quarantine_media/.*$"
- "~ ^/_synapse/admin/v1/users/.*/media$"
- name: homeserver
port: 8008
locations:
- "/_matrix"
- "/_synapse"
matrix_metrics_endpoints:
- name: synapse.homeserver
port: 8019
- name: synapse.appservice
port: 8020
- name: synapse.federation_reader
port: 8021
- name: synapse.federation_writer
port: 8022
- name: synapse.media_repository
port: 8023
- name: irc-bridge
port: 8499
path: metrics