Przeglądaj źródła

Add defaults for ips

pull/120/head
Stuart Mumford 7 lat temu
rodzic
commit
9d236c5466
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 60BC5C03E6276769
2 zmienionych plików z 2 dodań i 4 usunięć
  1. +2
    -0
      roles/matrix-coturn/defaults/main.yml
  2. +0
    -4
      roles/matrix-coturn/templates/turnserver.conf.j2

+ 2
- 0
roles/matrix-coturn/defaults/main.yml Wyświetl plik

@@ -17,3 +17,5 @@ matrix_coturn_turn_udp_min_port: 49152
matrix_coturn_turn_udp_max_port: 49172

matrix_coturn_turn_external_ip_address: "{{ ansible_host }}"
matrix_coturn_allowed_peer_ips: []
matrix_coturn_denied_peer_ips: []

+ 0
- 4
roles/matrix-coturn/templates/turnserver.conf.j2 Wyświetl plik

@@ -18,13 +18,9 @@ user-quota={{ matrix_coturn_user_quota }}
{% if matrix_coturn_total_quota is defined %}
total-quota={{ matrix_coturn_total_quota }}
{% endif %}
{% if matrix_coturn_denied_peer_ips is defined %}
{% for ip_range in matrix_coturn_denied_peer_ips %}
denied-peer-ip={{ ip_range }}
{% endfor %}
{% endif %}
{% if matrix_coturn_allowed_peer_ips is defined %}
{% for ip_range in matrix_coturn_allowed_peer_ips %}
allowed-peer-ip={{ ip_range }}
{% endfor %}
{% endif %}

Ładowanie…
Anuluj
Zapisz