Jitsi + nginx reverse proxy on another domain

Hello everyone.

We’re trying to create some nginx reverse_proxy which routes to our jitsi-meet installation.

The reverse_proxy url would be, for example, https://example.org/meet installed on server_ne and jitsi-meet is installed on server_two, reachable via https://meet.example.org/

  location /meet/ {
    proxy_pass https://xxx.xxx.xxx.xxx:443/;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Host $host;
  }

… unfortunately does not work. Could anyone please help out?