Explorar el Código

Revert Coturn Address Change, add new Addresses var (#2)

pull/1741/head
heftyzauk hace 3 años
committed by GitHub
padre
commit
268b079374
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 3 ficheros con 5 adiciones y 3 borrados
  1. +2
    -1
      group_vars/matrix_servers
  2. +2
    -1
      roles/matrix-coturn/defaults/main.yml
  3. +1
    -1
      roles/matrix-coturn/templates/turnserver.conf.j2

+ 2
- 1
group_vars/matrix_servers Ver fichero

@@ -1144,7 +1144,8 @@ matrix_coturn_enabled: true


matrix_coturn_container_image_self_build: "{{ matrix_architecture != 'amd64' }}" matrix_coturn_container_image_self_build: "{{ matrix_architecture != 'amd64' }}"


matrix_coturn_turn_external_ip_address: ["{{ ansible_host }}"]
matrix_coturn_turn_external_ip_address: "{{ ansible_host }}"
matrix_coturn_turn_external_ip_addresses: [ "{{ matrix_coturn_turn_external_ip_address }}" ]


matrix_coturn_turn_static_auth_secret: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'coturn.sas') | to_uuid }}" matrix_coturn_turn_static_auth_secret: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'coturn.sas') | to_uuid }}"




+ 2
- 1
roles/matrix-coturn/defaults/main.yml Ver fichero

@@ -64,7 +64,8 @@ matrix_coturn_turn_udp_max_port: 49172
matrix_coturn_turn_static_auth_secret: "" matrix_coturn_turn_static_auth_secret: ""


# The external IP address of the machine where Coturn is. # The external IP address of the machine where Coturn is.
matrix_coturn_turn_external_ip_address: []
matrix_coturn_turn_external_ip_address: ''
matrix_coturn_turn_external_ip_addresses: []


matrix_coturn_allowed_peer_ips: [] matrix_coturn_allowed_peer_ips: []
matrix_coturn_denied_peer_ips: [] matrix_coturn_denied_peer_ips: []


+ 1
- 1
roles/matrix-coturn/templates/turnserver.conf.j2 Ver fichero

@@ -5,7 +5,7 @@ realm=turn.{{ matrix_server_fqn_matrix }}


min-port={{ matrix_coturn_turn_udp_min_port }} min-port={{ matrix_coturn_turn_udp_min_port }}
max-port={{ matrix_coturn_turn_udp_max_port }} max-port={{ matrix_coturn_turn_udp_max_port }}
{% for ip in matrix_coturn_turn_external_ip_address %}
{% for ip in matrix_coturn_turn_external_ip_addresses %}
external-ip={{ ip }} external-ip={{ ip }}
{% endfor %} {% endfor %}




Cargando…
Cancelar
Guardar