Guest User

prosody/conf.avail/jitsi.mydomain.mytld.cfg.lua

a guest
Oct 26th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.08 KB | None | 0 0
  1. plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
  2.  
  3. -- domain mapper options, must at least have domain base set to use the mapper
  4. muc_mapper_domain_base = "jitsi.mydomain.mytld";
  5.  
  6. turncredentials_secret = "2Myazppxxxxxxxxxx";
  7.  
  8. turncredentials = {
  9.   { type = "stun", host = "jitsi.mydomain.mytld", port = "3478" },
  10.   { type = "turn", host = "jitsi.mydomain.mytld", port = "3478", transport = "udp" },
  11.   { type = "turns", host = "jitsi.mydomain.mytld", port = "5349", transport = "tcp" }
  12. };
  13.  
  14. cross_domain_bosh = false;
  15. consider_bosh_secure = true;
  16. -- https_ports = { }; -- Remove this line to prevent listening on port 5284
  17.  
  18. -- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4
  19. ssl = {
  20.   protocol = "tlsv1_2+";
  21.   ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:XXXXXXXXXXXXXXX"
  22. }
  23.  
  24. VirtualHost "jitsi.mydomain.mytld"
  25.         -- enabled = false -- Remove this line to enable this host
  26.         authentication = "internal_hashed"
  27.         -- Properties below are modified by jitsi-meet-tokens package config
  28.         -- and authentication above is switched to "token"
  29.         --app_id="example_app_id"
  30.         --app_secret="example_app_secret"
  31.         -- Assign this host a certificate for TLS, otherwise it would use the one
  32.         -- set in the global section (if any).
  33.         -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  34.         -- use the global one.
  35.         ssl = {
  36.                 key = "/etc/prosody/certs/jitsi.mydomain.mytld.key";
  37.                 certificate = "/etc/prosody/certs/jitsi.mydomain.mytld.crt";
  38.         }
  39.         speakerstats_component = "speakerstats.jitsi.mydomain.mytld.pl"
  40.         conference_duration_component = "conferenceduration.jitsi.mydomain.mytld"
  41.         -- we need bosh
  42.         modules_enabled = {
  43.             "bosh";
  44.             "pubsub";
  45.             "ping"; -- Enable mod_ping
  46.             "speakerstats";
  47.             "turncredentials";
  48.             "conference_duration";
  49.             "muc_lobby_rooms";
  50.         }
  51.         c2s_require_encryption = false
  52.         lobby_muc = "lobby.jitsi.mydomain.mytld"
  53.         main_muc = "conference.jitsi.mydomain.mytld"
  54.         -- muc_lobby_whitelist = { "recorder.jitsi.mydomain.mytld" } -- Here we can whitelist jibri to enter lobby enabled rooms
  55.  
  56. Component "conference.jitsi.mydomain.mytld" "muc"
  57.     storage = "memory"
  58.     modules_enabled = {
  59.         "muc_meeting_id";
  60.         "muc_domain_mapper";
  61.         -- "token_verification";
  62.     }
  63.     admins = { "focus@auth.jitsi.mydomain.mytld" }
  64.     muc_room_locking = false
  65.     muc_room_default_public_jids = true
  66.  
  67. -- internal muc component
  68. Component "internal.auth.jitsi.mydomain.mytld" "muc"
  69.     storage = "memory"
  70.     modules_enabled = {
  71.       "ping";
  72.     }
  73.     admins = { "focus@auth.jitsi.mydomain.mytld", "jvb@auth.jitsi.mydomain.mytld" }
  74.     muc_room_locking = false
  75.     muc_room_default_public_jids = true
  76.  
  77. VirtualHost "auth.jitsi.mydomain.mytld"
  78.     ssl = {
  79.         key = "/etc/prosody/certs/auth.jitsi.mydomain.mytld.key";
  80.         certificate = "/etc/prosody/certs/auth.jitsi.mydomain.mytld.crt";
  81.     }
  82.     authentication = "internal_plain"
  83.  
  84. Component "focus.jitsi.mydomain.mytld"
  85.     component_secret = "KO9Bxxx"
  86.  
  87. Component "speakerstats.jitsi.mydomain.mytld" "speakerstats_component"
  88.     muc_component = "conference.jitsi.mydomain.mytld"
  89.  
  90. Component "conferenceduration.jitsi.mydomain.mytld" "conference_duration_component"
  91.     muc_component = "conference.jitsi.mydomain.mytld"
  92.  
  93. VirtualHost "guest.jitsi.mydomain.mytld"
  94.     authentication = "anonymous"
  95.     c2s_require_encryption = false
  96.     modules_enabled = {
  97.         "muc_lobby_rooms";
  98.     }
  99.     lobby_muc = "lobby.jitsi.mydomain.mytld"
  100.     main_muc = "conference.jitsi.mydomain.mytld"
  101.  
  102. Component "lobby.jitsi.mydomain.mytld" "muc"
  103.     storage = "memory"
  104.     restrict_room_creation = true
  105.     muc_room_locking = false
  106.     muc_room_default_public_jids = true
  107.  
  108. Component "callcontrol.jitsi.mydomain.mytld" component_secret = "Zaifxxxx"
  109.  
Add Comment
Please, Sign In to add comment