Pārlūkot izejas kodu

Add matrix_coturn_additional_configuration

pull/2423/head
Slavi Pantaleev pirms 3 gadiem
vecāks
revīzija
bf23d63f82
2 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -76,6 +76,14 @@ matrix_coturn_total_quota: null
# Controls whether `no-multicast-peers` is added to the configuration # Controls whether `no-multicast-peers` is added to the configuration
matrix_coturn_no_multicast_peers_enabled: true 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. # 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. # 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`. # 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 Parādīt failu

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

{{ matrix_coturn_additional_configuration }}

Notiek ielāde…
Atcelt
Saglabāt