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