Skip to content

Commit

Permalink
Enable client & federation listeners for media repository workers
Browse files Browse the repository at this point in the history
  • Loading branch information
spantaleev authored and venimus committed Jul 19, 2024
1 parent 6620e2a commit ac86426
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/custom/matrix-synapse/templates/synapse/worker.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [] %}
Expand Down

0 comments on commit ac86426

Please sign in to comment.