Selaa lähdekoodia

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
pull/3428/head
Slavi Pantaleev 1 vuosi sitten
vanhempi
commit
a213164cb1
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. +5
    -1
      roles/custom/matrix-synapse/templates/synapse/worker.yaml.j2

+ 5
- 1
roles/custom/matrix-synapse/templates/synapse/worker.yaml.j2 Näytä tiedosto

@@ -28,7 +28,11 @@ worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config
{% set http_resources = http_resources + ['client'] %} {% set http_resources = http_resources + ['client'] %}
{% endif %} {% endif %}
{% if matrix_synapse_worker_details.type == 'media_repository' %} {% 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 %} {% endif %}


{% set replication_http_resources = [] %} {% set replication_http_resources = [] %}


Ladataan…
Peruuta
Tallenna