Jitsi
How to replace default jitsi meet frontend with a custom frontend using nginx
May 01, 2020
1 min

Most of the times you would need to customize the jitsi meet frontend rather than using the default frontend. Given below is how you need to update the nginx configurations to load your frontend instead of the default jitsi.

Edit webpack.js

const devServerProxyTarget =
  process.env.WEBPACK_DEV_SERVER_PROXY_TARGET || 'https://yourdomain.com'

Edit nginx

# BOSH
    location = /http-bind {
        proxy_pass      http://localhost:5280/http-bind;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Host $http_host;
        add_header 'Access-Control-Allow-Headers' 'Content-Type';
        add_header 'Access-Control-Allow-Origin' 'https://localhost:8080';
    }

# since 1.13.10
/etc/nginx/modules-enabled/60-jitsi-meet.conf
map $ssl_preread_alpn_protocols $upstream {
    ~\bh2\b         web;
    ~\bhttp/1\.     web;
    default         web;
}


Tags

jitsi meetnginx

Related Posts

Jitsi
Implementation of Chat Feature with Jitsi Meet API
August 29, 2020
1 min