Parcourir la source

Do not assume the jitsi_jvb_servers group is defined in everyone's inventory

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2842
pull/2845/head
Slavi Pantaleev il y a 2 ans
Parent
révision
4873b18000
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      roles/custom/matrix-nginx-proxy/templates/nginx/conf.d/matrix-jitsi.conf.j2

+ 1
- 1
roles/custom/matrix-nginx-proxy/templates/nginx/conf.d/matrix-jitsi.conf.j2 Voir le fichier

@@ -53,7 +53,7 @@

tcp_nodelay on;
}
{% for host in groups['jitsi_jvb_servers'] %}
{% for host in groups['jitsi_jvb_servers'] | default([]) %}
# colibri (JVB) websockets for additional JVBs
location ~ ^/colibri-ws/{{ hostvars[host]['jitsi_jvb_server_id'] | regex_escape }}/(.*) {
proxy_pass http://{{ host }}:9090/colibri-ws/{{ hostvars[host]['jitsi_jvb_server_id'] }}/$1$is_args$args;


Chargement…
Annuler
Enregistrer