How to modify NGINX setup in order to use a soft link to start Jitsi Meet?

I want to start Jitsi meet this way:


so that Nginx test page will result If only the domain is typed and 404 error if anything else than 12345678 is appended to the domain. That would be enough to hide the purpose of this server i.e. make it look like a test server not in use.

I modifies nginx config file for domain /etc/nginx/sites-available/some.domain.conf:
root /var/www/html

and created a symbolic link /var/www/html/12345678 --> /usr/share/jitsi-meet/index.html

That idea actually partly works, but: It’s not able to load some libs, the error when trying to connect is:

Missing file:///home/arto/Download/libs/lib-jitsi-meet.min.js?v=3729

I guess the rest of nginx config file (or something else) should be modified to reflect the new way to start Jitsi Meet. Here is the related part of nginx config file:

#    root /usr/share/jitsi-meet;
    root /var/www/html;
    ssi on;
    index index.html index.htm index.nginx-debian.html;
    error_page 404 /static/404.html;

    location = /config.js {
        alias /etc/jitsi/meet/;

    location = /external_api.js {
        alias /usr/share/jitsi-meet/libs/external_api.min.js;

    #ensure all static content can always be found first
    location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.well-known)/(.*)$
        add_header 'Access-Control-Allow-Origin' '*';
        alias /usr/share/jitsi-meet/$1/$2;

    # 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;

   location ~ ^/([^/?&:'"]+)$ {
       try_files $uri @root_path;

    location @root_path {
        rewrite ^/(.*)$ / break;