From:
https://github.com/jitsi/jitsi-meet/issues/6536
In short add this to apache config file
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/http-bind$
RewriteCond %{REQUEST_URI} !external_api\.
RewriteCond %{REQUEST_URI} !xmpp-websocket
RewriteRule ^/([a-zA-Z0-9_\-]+)$ /index.html