[mod] role:synapse:Schalter für federation
This commit is contained in:
parent
00049a180d
commit
6c4e68298b
2 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
"var_synapse_database_data_postgresql_schema": "synapse",
|
"var_synapse_database_data_postgresql_schema": "synapse",
|
||||||
"var_synapse_element_url": "https://element.example.org",
|
"var_synapse_element_url": "https://element.example.org",
|
||||||
"var_synapse_title": "Example | Matrix",
|
"var_synapse_title": "Example | Matrix",
|
||||||
|
"var_synapse_federation_enable": true,
|
||||||
"var_synapse_federation_whitelist": [],
|
"var_synapse_federation_whitelist": [],
|
||||||
"var_synapse_password_strict_policy": true,
|
"var_synapse_password_strict_policy": true,
|
||||||
"var_synapse_registration_shared_secret": "REPLACE_ME",
|
"var_synapse_registration_shared_secret": "REPLACE_ME",
|
||||||
|
|
|
@ -42,8 +42,10 @@ listeners:
|
||||||
resources:
|
resources:
|
||||||
- names: [client]
|
- names: [client]
|
||||||
compress: true
|
compress: true
|
||||||
|
{% if var_synapse_federation_enable %}
|
||||||
- names: [federation]
|
- names: [federation]
|
||||||
compress: false
|
compress: false
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
federation_domain_whitelist: {{var_synapse_federation_whitelist | to_yaml}}
|
federation_domain_whitelist: {{var_synapse_federation_whitelist | to_yaml}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue