40 lines
2.0 KiB
YAML
40 lines
2.0 KiB
YAML
---
|
|
# see https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#federation
|
|
synapse_config_federation_domain_whitelist: ~
|
|
synapse_config_federation_whitelist_endpoint_enabled: true
|
|
synapse_config_federation_metrics_domains: []
|
|
# see https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#federation-1
|
|
# for federation retry / network tuning
|
|
synapse_config_federation: {}
|
|
synapse_config_allow_profile_lookup_over_federation: false
|
|
synapse_config_allow_device_name_lookup_over_federation: false
|
|
|
|
synapse_config_federation_verify_certificates: true
|
|
synapse_config_federation_client_minimum_tls_version: "1.2"
|
|
synapse_config_federation_verification_whitelist: []
|
|
synapse_config_federation_custom_ca_list: []
|
|
|
|
synapse_federation_tls_config:
|
|
federation_verify_certificates: "{{ synapse_config_federation_verify_certificates }}"
|
|
federation_client_minimum_tls_version: >-
|
|
{{ synapse_config_federation_client_minimum_tls_version }}
|
|
federation_certificate_verification_whitelist: >-
|
|
{{ synapse_config_federation_verification_whitelist }}
|
|
|
|
synapse_federation_config: >-
|
|
{{
|
|
{
|
|
"federation_whitelist_endpoint_enabled" : synapse_config_federation_whitelist_endpoint_enabled,
|
|
"federation_metrics_domains": synapse_config_federation_metrics_domains,
|
|
"allow_profile_lookup_over_federation": synapse_config_allow_profile_lookup_over_federation,
|
|
"allow_device_name_lookup_over_federation": synapse_config_allow_device_name_lookup_over_federation,
|
|
"federation": synapse_config_federation
|
|
}
|
|
| combine(synapse_federation_tls_config)
|
|
| combine(({"federation_custom_ca_list": synapse_config_federation_custom_ca_list})
|
|
if (synapse_config_federation_custom_ca_list | default(false, true)
|
|
and synapse_config_federation_custom_ca_list | length > 0) else {})
|
|
| combine(({"federation_domain_whitelist": synapse_config_federation_domain_whitelist})
|
|
if synapse_config_federation_domain_whitelist | default(false, true) else {})
|
|
}}
|