Просмотр исходного кода

Add a variable to control Dendrite's disable_federation setting

pull/818/head
Slavi Pantaleev 4 лет назад
Родитель
Сommit
8f4685f055
2 измененных файлов: 5 добавлений и 1 удалений
  1. +4
    -0
      roles/matrix-dendrite/defaults/main.yml
  2. +1
    -1
      roles/matrix-dendrite/templates/dendrite/dendrite.yaml.j2

+ 4
- 0
roles/matrix-dendrite/defaults/main.yml Просмотреть файл

@@ -114,6 +114,10 @@ matrix_dendrite_trusted_id_servers:
- "matrix.org"
- "vector.im"

# Controls whether Dendrite will federate at all.
# Disable this to completely isolate your server from the rest of the Matrix network.
matrix_dendrite_disable_federation: false

# Default Dendrite configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#


+ 1
- 1
roles/matrix-dendrite/templates/dendrite/dendrite.yaml.j2 Просмотреть файл

@@ -64,7 +64,7 @@ global:

# Disables federation. Dendrite will not be able to make any outbound HTTP requests
# to other servers and the federation API will not be exposed.
disable_federation: false
disable_federation: {{ matrix_dendrite_disable_federation|to_json }}

# Configuration for Kafka/Naffka.
kafka:


Загрузка…
Отмена
Сохранить