소스 검색

Add nulls for quotas as well

pull/120/head
Stuart Mumford 7 년 전
부모
커밋
e367a2d0de
No known key found for this signature in database GPG 키 ID: 60BC5C03E6276769
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -0
      roles/matrix-coturn/defaults/main.yml
  2. +2
    -2
      roles/matrix-coturn/templates/turnserver.conf.j2

+ 2
- 0
roles/matrix-coturn/defaults/main.yml 파일 보기

@@ -19,3 +19,5 @@ 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: []
matrix_coturn_user_quota: null
matrix_coturn_total_quota: null

+ 2
- 2
roles/matrix-coturn/templates/turnserver.conf.j2 파일 보기

@@ -12,10 +12,10 @@ no-tls
no-dtls
prod
no-tcp-relay
{% if matrix_coturn_user_quota is defined %}
{% if matrix_coturn_user_quota != None %}
user-quota={{ matrix_coturn_user_quota }}
{% endif %}
{% if matrix_coturn_total_quota is defined %}
{% if matrix_coturn_total_quota != None %}
total-quota={{ matrix_coturn_total_quota }}
{% endif %}
{% for ip_range in matrix_coturn_denied_peer_ips %}


불러오는 중...
취소
저장