Minimum steps to adding a virtual host to nginx / meet

What would be the minimum configuration changes in a working config to add a ‘virtualhost’.

I have tried this:

copy /etc/nginx/sites-enabled/ to /etc/nginx/sites-enabled/
And change the server_name from to

(I think I can leave the bosh url, because that is just the proxy connection)

Because the meet config has also an url that needs to match I have to change location = /config.js to point to a new copy

and change in this copy /etc/jitsi/meet/
the bosh url
bosh: //

However this is not enough, and I have the reload of home room page.

What else do I need to change (except of course of doing a complete copy)

First error in the js console is
XML Parsing Error: mismatched tag. Expected: .
Line Number 4, Column 3:

copy the prosody config to and change only the VirtualHost “

Should do it.