Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(debian): default tenant variables in nginx template

damenchoda51f1620aaf
diff --git a/doc/debian/jitsi-meet/jitsi-meet.example b/doc/debian/jitsi-meet/jitsi-meet.example
index 43913bd04d..585eeb7ae8 100644
--- a/doc/debian/jitsi-meet/jitsi-meet.example
+++ b/doc/debian/jitsi-meet/jitsi-meet.example
@@ -27,6 +27,15 @@ map $arg_vnode $prosody_node {
v7 v7;
v8 v8;
}
+# Empty defaults for the tenant variables echoed by config.js, overridden by
+# `set` in the tenant locations. A server-level `set` cannot be used, as it
+# runs again for the config.js SSI subrequest and resets the tenant values.
+map "" $subdomain {
+ default "";
+}
+map "" $subdir {
+ default "";
+}
# Matches any URI or Referer with some matches and redacts the whole
# query string. log_format and map must be at the http context level.
map $request_uri $loggable_uri {