Fix Jitsi Meet
This commit is contained in:
parent
3d7dbd1bc7
commit
03da7b06ef
|
@ -4,6 +4,9 @@
|
|||
hostname: "{{ inventory_hostname }}"
|
||||
timezone: Europe/Copenhagen
|
||||
|
||||
home_ipv4: 46.32.144.131
|
||||
home_ipv6: 2a06:4001:f02a::/48
|
||||
|
||||
users:
|
||||
- name: lab_admin
|
||||
comment: System administrator
|
||||
|
|
|
@ -59,8 +59,10 @@ services:
|
|||
restart: always
|
||||
environment:
|
||||
JVB_AUTH_PASSWORD: {{ jitsi_passwords.jvb_auth }}
|
||||
JVB_WS_DOMAIN: {{ apps_vars.jitsi.domain }}
|
||||
{% if hostname not in groups['production'] %}
|
||||
PUBLIC_URL: {{ apps_vars.jitsi.domain }}
|
||||
{% if hostname in groups['production'] %}
|
||||
JVB_ADVERTISE_IPS: {{ home_ipv4 }},{{ ansible_default_ipv6.address }}
|
||||
{% else %}
|
||||
JVB_ADVERTISE_IPS: {{ ansible_host }}
|
||||
{% endif %}
|
||||
networks:
|
||||
|
|
|
@ -19,7 +19,7 @@ server {
|
|||
proxy_set_header X-Forwarded-Proto "https";
|
||||
}
|
||||
|
||||
location ~^/(colibri-ws|xmpp-websocket)$ {
|
||||
location ~^/(colibri-ws|xmpp-websocket) {
|
||||
proxy_pass $upstream;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
permanent: true
|
||||
state: enabled
|
||||
loop:
|
||||
- '46.32.144.131'
|
||||
- '2a06:4001:f02a::/48'
|
||||
- "{{ home_ipv4 }}"
|
||||
- "{{ home_ipv6 }}"
|
||||
when: instance_type == 'vps'
|
||||
|
||||
- name: Move internal network to zone 'internal'
|
||||
|
|
Loading…
Reference in a new issue