Fix Jitsi Meet

This commit is contained in:
Sam A. 2024-05-15 21:24:30 +02:00
parent 3d7dbd1bc7
commit 03da7b06ef
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
4 changed files with 10 additions and 5 deletions

View file

@ -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

View file

@ -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:

View file

@ -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;

View file

@ -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'