mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-26 10:58:30 +01:00
Merge pull request #120 from Cadair/turn_config
Add config options to turnserver.conf
This commit is contained in:
commit
0bc751261d
@ -17,3 +17,7 @@ matrix_coturn_turn_udp_min_port: 49152
|
|||||||
matrix_coturn_turn_udp_max_port: 49172
|
matrix_coturn_turn_udp_max_port: 49172
|
||||||
|
|
||||||
matrix_coturn_turn_external_ip_address: "{{ ansible_host }}"
|
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
|
||||||
|
@ -11,3 +11,16 @@ no-cli
|
|||||||
no-tls
|
no-tls
|
||||||
no-dtls
|
no-dtls
|
||||||
prod
|
prod
|
||||||
|
no-tcp-relay
|
||||||
|
{% if matrix_coturn_user_quota != None %}
|
||||||
|
user-quota={{ matrix_coturn_user_quota }}
|
||||||
|
{% endif %}
|
||||||
|
{% if matrix_coturn_total_quota != None %}
|
||||||
|
total-quota={{ matrix_coturn_total_quota }}
|
||||||
|
{% endif %}
|
||||||
|
{% 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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user