Move config supprt for unfederated dimension into group_vars

This commit is contained in:
Chris van Dijk
2020-04-22 19:01:56 +02:00
parent 18beb30466
commit 3f4bc9b881
4 changed files with 18 additions and 6 deletions

View File

@ -137,6 +137,11 @@ matrix_synapse_tls_federation_listener_enabled: true
matrix_synapse_tls_certificate_path: "/data/{{ matrix_server_fqn_matrix }}.tls.crt"
matrix_synapse_tls_private_key_path: "/data/{{ matrix_server_fqn_matrix }}.tls.key"
# Resource names used by the unsecure HTTP listener. Here only the Client API
# is defined, see the homeserver config for a full list of valid resource
# names.
matrix_synapse_http_listener_resource_names: ["client"]
# Enable this to allow Synapse to report utilization statistics about your server to matrix.org
# (things like number of users, number of messages sent, uptime, load, etc.)
matrix_synapse_report_stats: false

View File

@ -226,11 +226,7 @@ listeners:
x_forwarded: true
resources:
- names:
- client
{% if matrix_dimension_enabled and not matrix_synapse_federation_enabled %}
- openid
{% endif %}
- names: {{ matrix_synapse_http_listener_resource_names|to_json }}
compress: false
{% if matrix_synapse_federation_enabled %}