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
This commit is contained in:
parent
a036987ba4
commit
4873b18000
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
}
|
}
|
||||||
{% for host in groups['jitsi_jvb_servers'] %}
|
{% for host in groups['jitsi_jvb_servers'] | default([]) %}
|
||||||
# colibri (JVB) websockets for additional JVBs
|
# colibri (JVB) websockets for additional JVBs
|
||||||
location ~ ^/colibri-ws/{{ hostvars[host]['jitsi_jvb_server_id'] | regex_escape }}/(.*) {
|
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;
|
proxy_pass http://{{ host }}:9090/colibri-ws/{{ hostvars[host]['jitsi_jvb_server_id'] }}/$1$is_args$args;
|
||||||
|
Loading…
Reference in New Issue
Block a user