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

Add matrix_coturn_additional_configuration

pull/2423/head
Slavi Pantaleev 3 лет назад
Родитель
Сommit
bf23d63f82
2 измененных файлов: 10 добавлений и 0 удалений
  1. +8
    -0
      roles/custom/matrix-coturn/defaults/main.yml
  2. +2
    -0
      roles/custom/matrix-coturn/templates/turnserver.conf.j2

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

@@ -76,6 +76,14 @@ matrix_coturn_total_quota: null
# Controls whether `no-multicast-peers` is added to the configuration
matrix_coturn_no_multicast_peers_enabled: true

# Additional configuration to be passed to turnserver.conf
# Example:
# matrix_coturn_additional_configuration: |
# simple-log
# aux-server=1.2.3.4
# relay-ip=4.3.2.1
matrix_coturn_additional_configuration: ''

# To enable TLS, you need to provide paths to certificates.
# Paths defined in `matrix_coturn_tls_cert_path` and `matrix_coturn_tls_key_path` are in-container paths.
# Files on the host can be mounted into the container using `matrix_coturn_container_additional_volumes`.


+ 2
- 0
roles/custom/matrix-coturn/templates/turnserver.conf.j2 Просмотреть файл

@@ -49,3 +49,5 @@ denied-peer-ip={{ ip_range }}
{% for ip_range in matrix_coturn_allowed_peer_ips %}
allowed-peer-ip={{ ip_range }}
{% endfor %}

{{ matrix_coturn_additional_configuration }}

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