You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
6 years ago
|
#jinja2: lstrip_blocks: "True"
|
||
7 years ago
|
use-auth-secret
|
||
|
static-auth-secret={{ matrix_coturn_turn_static_auth_secret }}
|
||
6 years ago
|
realm=turn.{{ matrix_server_fqn_matrix }}
|
||
6 years ago
|
|
||
7 years ago
|
min-port={{ matrix_coturn_turn_udp_min_port }}
|
||
|
max-port={{ matrix_coturn_turn_udp_max_port }}
|
||
3 years ago
|
{% for ip in matrix_coturn_turn_external_ip_addresses|select('ne', '') %}
|
||
3 years ago
|
external-ip={{ ip }}
|
||
|
{% endfor %}
|
||
6 years ago
|
|
||
7 years ago
|
log-file=stdout
|
||
|
pidfile=/var/tmp/turnserver.pid
|
||
|
userdb=/var/tmp/turnserver.db
|
||
6 years ago
|
|
||
6 years ago
|
no-cli
|
||
6 years ago
|
|
||
|
{% if matrix_coturn_tls_enabled %}
|
||
|
cert={{ matrix_coturn_tls_cert_path }}
|
||
|
pkey={{ matrix_coturn_tls_key_path }}
|
||
4 years ago
|
{% if not matrix_coturn_tls_v1_enabled %}
|
||
4 years ago
|
no-tlsv1
|
||
4 years ago
|
{% endif %}
|
||
|
{% if not matrix_coturn_tls_v1_1_enabled %}
|
||
4 years ago
|
no-tlsv1_1
|
||
4 years ago
|
{% endif %}
|
||
6 years ago
|
{% else %}
|
||
6 years ago
|
no-tls
|
||
|
no-dtls
|
||
6 years ago
|
{% endif %}
|
||
|
|
||
6 years ago
|
prod
|
||
6 years ago
|
no-tcp-relay
|
||
6 years ago
|
|
||
6 years ago
|
{% if matrix_coturn_user_quota != None %}
|
||
6 years ago
|
user-quota={{ matrix_coturn_user_quota }}
|
||
|
{% endif %}
|
||
6 years ago
|
{% if matrix_coturn_total_quota != None %}
|
||
6 years ago
|
total-quota={{ matrix_coturn_total_quota }}
|
||
|
{% endif %}
|
||
6 years ago
|
|
||
6 years ago
|
{% for ip_range in matrix_coturn_denied_peer_ips %}
|
||
|
denied-peer-ip={{ ip_range }}
|
||
|
{% endfor %}
|
||
|
{% for ip_range in matrix_coturn_allowed_peer_ips %}
|
||
|
allowed-peer-ip={{ ip_range }}
|
||
|
{% endfor %}
|