mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-03 01:57:18 +00:00
Enable HTTP resources for new worker types
This commit is contained in:
parent
a1cbe7f39b
commit
0dbdaf5b9f
@ -7,10 +7,17 @@ worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config
|
|||||||
|
|
||||||
{% set http_resources = [] %}
|
{% set http_resources = [] %}
|
||||||
|
|
||||||
{% if matrix_synapse_worker_details.type == 'user_dir' %}
|
{% if matrix_synapse_worker_details.type == 'room_worker' %}
|
||||||
|
{% set http_resources = http_resources + ['client', 'federation'] %}
|
||||||
|
{% elif matrix_synapse_worker_details.type == 'sync_worker' %}
|
||||||
{% set http_resources = http_resources + ['client'] %}
|
{% set http_resources = http_resources + ['client'] %}
|
||||||
{% endif %}
|
{% elif matrix_synapse_worker_details.type == 'client_reader' %}
|
||||||
{% if matrix_synapse_worker_details.type == 'generic_worker' %}
|
{% set http_resources = http_resources + ['client'] %}
|
||||||
|
{% elif matrix_synapse_worker_details.type == 'federation_reader' %}
|
||||||
|
{% set http_resources = http_resources + ['federation'] %}
|
||||||
|
{% elif matrix_synapse_worker_details.type == 'user_dir' %}
|
||||||
|
{% set http_resources = http_resources + ['client'] %}
|
||||||
|
{% elif matrix_synapse_worker_details.type == 'generic_worker' %}
|
||||||
{% set http_resources = http_resources + ['client', 'federation'] %}
|
{% set http_resources = http_resources + ['client', 'federation'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{#
|
{#
|
||||||
|
Loading…
Reference in New Issue
Block a user