Is it possible to run jitsi in a subdirectory?

Following is my nginx config:

server {
    listen 8443 http2 ssl;
    listen [::]:8443 http2 ssl;

    location /jitsi/ {
        proxy_pass http://x.x.x.x:9000/;
        proxy_set_header Host $http_host;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
    }
}

The problem is that relative paths in the html of jitsi-meet web application, does not respect the subdirectory, hence <script src="libs/app.bundle.min.js"></script> will search for my-domain.com/libs/app.bundle.min.js instead of my-domain.com/jitsi/libs/app.bundle.min.js.

Short answer: yes it’s possible and I have done it. You need to update any other nginx Jitsi-specific location blocks to properly alias them or using try_files.

1 Like

Thanks.
I am using the dockerized version of the jitsi. Considering that, is it still possible to achieve the “jitsi in a subdirectory”?

indeed it’s conceivable and I have done it. You need to refresh some other nginx Jitsi-explicit area squares to appropriately moniker them or utilizing try_file Then It’s Worked.

1 Like

How did you do it? Can you post your nginx configuration?