Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

69 строки
1.6 KiB

  1. #jinja2: lstrip_blocks: "True"
  2. use-auth-secret
  3. static-auth-secret={{ matrix_coturn_turn_static_auth_secret }}
  4. realm=turn.{{ matrix_server_fqn_matrix }}
  5. min-port={{ matrix_coturn_turn_udp_min_port }}
  6. max-port={{ matrix_coturn_turn_udp_max_port }}
  7. {% for ip in matrix_coturn_turn_external_ip_addresses|select('ne', '') %}
  8. external-ip={{ ip }}
  9. {% endfor %}
  10. log-file=stdout
  11. pidfile=/var/tmp/turnserver.pid
  12. userdb=/var/tmp/turnserver.db
  13. no-cli
  14. {% if matrix_coturn_tls_enabled %}
  15. cert={{ matrix_coturn_tls_cert_path }}
  16. pkey={{ matrix_coturn_tls_key_path }}
  17. {% if not matrix_coturn_tls_v1_enabled %}
  18. no-tlsv1
  19. {% endif %}
  20. {% if not matrix_coturn_tls_v1_1_enabled %}
  21. no-tlsv1_1
  22. {% endif %}
  23. {% else %}
  24. no-tls
  25. no-dtls
  26. {% endif %}
  27. prod
  28. {% if matrix_coturn_no_tcp_relay_enabled %}
  29. no-tcp-relay
  30. {% endif %}
  31. {% if matrix_coturn_no_rfc5780_enabled %}
  32. no-rfc5780
  33. {% endif %}
  34. {% if matrix_coturn_no_stun_backward_compatibility_enabled %}
  35. no-stun-backward-compatibility
  36. {% endif %}
  37. {% if matrix_coturn_response_origin_only_with_rfc5780_enabled %}
  38. response-origin-only-with-rfc5780
  39. {% endif %}
  40. {% if matrix_coturn_user_quota != None %}
  41. user-quota={{ matrix_coturn_user_quota }}
  42. {% endif %}
  43. {% if matrix_coturn_total_quota != None %}
  44. total-quota={{ matrix_coturn_total_quota }}
  45. {% endif %}
  46. {% if matrix_coturn_no_multicast_peers_enabled %}
  47. no-multicast-peers
  48. {% endif %}
  49. {% for ip_range in matrix_coturn_denied_peer_ips %}
  50. denied-peer-ip={{ ip_range }}
  51. {% endfor %}
  52. {% for ip_range in matrix_coturn_allowed_peer_ips %}
  53. allowed-peer-ip={{ ip_range }}
  54. {% endfor %}
  55. {{ matrix_coturn_additional_configuration }}