Enable client & federation listeners for media repository workers

Related to c6d8a68e77

Related to https://github.com/element-hq/synapse/pull/17421

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3427
This commit is contained in:
Slavi Pantaleev 2024-07-17 17:52:21 +03:00
parent e608daaf8f
commit a213164cb1

View File

@ -28,7 +28,11 @@ worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config
{% set http_resources = http_resources + ['client'] %}
{% endif %}
{% if matrix_synapse_worker_details.type == 'media_repository' %}
{% set http_resources = http_resources + ['media'] %}
{#
Handling authenticated media endpoints (`/_matrix/client/VERSION/media/` and `/_matrix/federation/v1/media/`)
requires serving the client and federation resources.
#}
{% set http_resources = http_resources + ['media', 'client', 'federation'] %}
{% endif %}
{% set replication_http_resources = [] %}