浏览代码

Add config options to turnserver.conf

pull/120/head
Stuart Mumford 7 年前
父节点
当前提交
c0dc56324a
找不到此签名对应的密钥 GPG 密钥 ID: 60BC5C03E6276769
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. +17
    -0
      roles/matrix-coturn/templates/turnserver.conf.j2

+ 17
- 0
roles/matrix-coturn/templates/turnserver.conf.j2 查看文件

@@ -11,3 +11,20 @@ no-cli
no-tls
no-dtls
prod
no-tcp-relay
{% if matrix_coturn_user_quota is defined %}
user-quota={{ matrix_coturn_user_quota }}
{% endif %}
{% 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 %}

正在加载...
取消
保存