How install Jitssi in subdirectory OR exclude a folder from Jitsi

Hi! For a whole week, maybe more we are trying to solve the problem:

Our Jitsi is installed on mydom . com.
Our records are stored in the domain folder mydom . com / records.
We need to get them from another server.
This succeeds on the test server.
But on the server with Jitsi at mydom . com / records a new conference is created.

How to exclude a folder from jitsi?
How to install Jitsi to a domain subdirectory mydom . com / jitsi

I would be grateful for any help!

I am writing so that someone will notice.
Your help is very necessary…

Assuming the records folder is /tmp/records

Add the records location before the BOSH line

location ~ ^/records {
    root /tmp;
    autoindex on; // use this line only at the test step

location = /http-bind {
1 Like

Thanks, we will try…


Our records are in the folder
Similar to your answer we did it as shown in the screenshot, but the folder is inaccessible, and a new conference is created at this address

Could you paste the output:

ls -alh /var/www/www-root/data/www/

Did you restart the nginx service

systemctl restart nginx

We have Jitsi in Docker and apache2 proxies before it

ls -alh /var/www/www-root/data/www/
total 28K
drwxr-xr-x 4 www-root www-root 4.0K Aug 28 14:42 .
drwxr-xr-x 3 www-root www-root 4.0K Aug 31 14:02 ..
-rw-r--r-- 1 www-root www-root  162 Aug 28 14:42 handler-aj.php
-rw-r--r-- 1 www-root www-root 3.1K Aug 25 11:13 index.html
drwxr-xr-x 2      999 root     4.0K Aug 31 14:36 logs
drwxr-xr-x 7      999 www-root 4.0K Aug 31 14:02 recordings
-rw-r--r-- 1 www-root www-root  255 Aug 28 14:42 test2.php

Jitsi in docker. Nginx config file located in container “web” in directory /config/nginx/meet.conf.

Did you run this command inside the container?
Nginx should access this directory inside the container

1 Like

Yes it worked! Thank you very much!
Only the php script in this directory is not responding yet. 405 error … we struggle)