mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 02:18:31 +01:00
Bugfix: Locations for new workers must go *after* the stream writers
This commit is contained in:
parent
0dbdaf5b9f
commit
55604f73c5
@ -127,21 +127,6 @@ server {
|
|||||||
|
|
||||||
{# Workers redirects BEGIN #}
|
{# Workers redirects BEGIN #}
|
||||||
|
|
||||||
{% if room_workers | length > 0 %}
|
|
||||||
# https://tcpipuk.github.io/synapse/deployment/workers.html
|
|
||||||
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_room_worker_client_server_locations, 'room_workers_upstream') }}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if sync_workers | length > 0 %}
|
|
||||||
# https://tcpipuk.github.io/synapse/deployment/workers.html
|
|
||||||
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_sync_worker_client_server_locations, 'sync_workers_upstream') }}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if client_reader_workers | length > 0 %}
|
|
||||||
# https://tcpipuk.github.io/synapse/deployment/workers.html
|
|
||||||
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_client_reader_client_server_locations, 'client_reader_workers_upstream') }}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if generic_workers | length > 0 %}
|
{% if generic_workers | length > 0 %}
|
||||||
# https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
|
# https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
|
||||||
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_generic_worker_client_server_locations, 'generic_workers_upstream') }}
|
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_generic_worker_client_server_locations, 'generic_workers_upstream') }}
|
||||||
@ -172,6 +157,21 @@ server {
|
|||||||
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_stream_writer_presence_stream_worker_client_server_locations, 'stream_writer_presence_stream_workers_upstream') }}
|
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_stream_writer_presence_stream_worker_client_server_locations, 'stream_writer_presence_stream_workers_upstream') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if room_workers | length > 0 %}
|
||||||
|
# https://tcpipuk.github.io/synapse/deployment/workers.html
|
||||||
|
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_room_worker_client_server_locations, 'room_workers_upstream') }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if sync_workers | length > 0 %}
|
||||||
|
# https://tcpipuk.github.io/synapse/deployment/workers.html
|
||||||
|
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_sync_worker_client_server_locations, 'sync_workers_upstream') }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if client_reader_workers | length > 0 %}
|
||||||
|
# https://tcpipuk.github.io/synapse/deployment/workers.html
|
||||||
|
{{ render_locations_to_upstream(matrix_synapse_reverse_proxy_companion_synapse_client_reader_client_server_locations, 'client_reader_workers_upstream') }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if media_repository_workers | length > 0 %}
|
{% if media_repository_workers | length > 0 %}
|
||||||
# https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository
|
# https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository
|
||||||
{% for location in matrix_synapse_reverse_proxy_companion_synapse_media_repository_locations %}
|
{% for location in matrix_synapse_reverse_proxy_companion_synapse_media_repository_locations %}
|
||||||
|
Loading…
Reference in New Issue
Block a user