Hi.
New to understanding docker jitsi meet. I’m attempting to configure the NGINX reverse proxy for docker-jitsi-meet so that all connections go through nginx.
Is NGINX configured by defualt for xmpp-websocket and colibri-websocket ? OR
I need to modify meet.conf after I
ENABLE_XMPP_WEBSOCKET=1
ENABLE_COLIBRI_WEBSOCKET=1
in .env?
Based on the instruction manual, I believe I have to place the below snippet inside meet.conf(not sure):
location /xmpp-websocket {
proxy_pass https://localhost:8443;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /colibri-ws {
proxy_pass https://localhost:8443;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
Upon inspecting meet.conf, I realised there is a proxy pass already existing for each xmpp-websocket and colibri-websocket.
I have added the following proxy pass based on the instruction manual for each xmpp-websocket and colibri-websocket:
location = /xmpp-websocket {
tcp_nodelay on;
proxy_http_version 1.1;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host {{ $XMPP_DOMAIN }};
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass https://mydomain:8443;
proxy_pass {{ $XMPP_BOSH_URL_BASE }}/xmpp-websocket?prefix=$prefix&$args;
}
{{ if $ENABLE_COLIBRI_WEBSOCKET }}
# colibri (JVB) websockets
location ~ ^/colibri-ws/([a-zA-Z0-9-\._]+)/(.*) {
tcp_nodelay on;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_pass https://mydomain:8443;
proxy_pass http://$1:9090/colibri-ws/$1/$2$is_args$args;
}