Jitsi on subdir + reverse proxy to other server

Hello!

I have a domain x. com and on another server I have a functional jitsi installation. I need this server to access the application in a subdomain via reverse proxy on the functional jitsi server. To exemplify:
x. com/jitsi -----> jitsiokdomain

On nginx, i create this simple configuration on exist domain in x.com:

location ~ ^/meet {
proxy_pass https:// 10.151.15.169 :7777; #i change the port on jitsi server

            port_in_redirect off;
            proxy_set_header Host $host;

            proxy_http_version 1.1;
            proxy_ssl_session_reuse off;
            proxy_cache_bypass $http_upgrade;
    }

Any tip?