Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Adds alias for external_api.js in all default web config.
damencho2180d33e3d1a
diff --git a/debian/jitsi-meet-web-config.postinst b/debian/jitsi-meet-web-config.postinstindex aeacdd2477..7cc0a0be05 100644--- a/debian/jitsi-meet-web-config.postinst+++ b/debian/jitsi-meet-web-config.postinst@@ -132,6 +132,7 @@ case "$1" inecho "org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./config.js=/etc/jitsi/meet/$JVB_HOSTNAME-config.js" >> $JVB_CONFIGecho "org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./interface_config.js=/usr/share/jitsi-meet/interface_config.js" >> $JVB_CONFIGecho "org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./logging_config.js=/usr/share/jitsi-meet/logging_config.js" >> $JVB_CONFIG+ echo "org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./external_api.js=/usr/share/jitsi-meet/libs/external_api.min.js" >> $JVB_CONFIGecho "org.jitsi.videobridge.rest.jetty.RewriteHandler.regex=^/([a-zA-Z0-9]+)$" >> $JVB_CONFIGecho "org.jitsi.videobridge.rest.jetty.RewriteHandler.replacement=/" >> $JVB_CONFIGecho "org.jitsi.videobridge.rest.jetty.SSIResourceHandler.paths=/" >> $JVB_CONFIGdiff --git a/doc/debian/jitsi-meet/jitsi-meet.example b/doc/debian/jitsi-meet/jitsi-meet.exampleindex eb6f1c6f48..c4aec1893e 100644--- a/doc/debian/jitsi-meet/jitsi-meet.example+++ b/doc/debian/jitsi-meet/jitsi-meet.example@@ -26,6 +26,10 @@ server {alias /etc/jitsi/meet/jitsi-meet.example.com-config.js;}+ location /external_api.js {+ alias /usr/share/jitsi-meet/libs/external_api.min.js;+ }+location ~ ^/([a-zA-Z0-9=\?]+)$ {rewrite ^/(.*)$ / break;}@@ -34,11 +38,6 @@ server {ssi on;}- # Backward compatibility- location ~ /external_api.* {- root /usr/share/jitsi-meet/libs;- }-# BOSHlocation /http-bind {proxy_pass http://localhost:5280/http-bind;diff --git a/doc/debian/jitsi-meet/jitsi-meet.example-apache b/doc/debian/jitsi-meet/jitsi-meet.example-apacheindex 713f8144b7..374bdd4af8 100644--- a/doc/debian/jitsi-meet/jitsi-meet.example-apache+++ b/doc/debian/jitsi-meet/jitsi-meet.example-apache@@ -36,6 +36,11 @@Require all granted</Location>+ Alias "/external_api.js" "/usr/share/jitsi-meet/libs/external_api.min.js"+ <Location /external_api.js>+ Require all granted+ </Location>+ProxyPreserveHost onProxyPass /http-bind http://localhost:5280/http-bind/ProxyPassReverse /http-bind http://localhost:5280/http-bind/