-- Plugins path gets uncommented during jitsi-meet-tokens package install - that's where token plugin is located
--plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }

VirtualHost "jitmeet.example.com"
        -- enabled = false -- Remove this line to enable this host
        authentication = "anonymous"
        -- Properties below are modified by jitsi-meet-tokens package config
        -- and authentication above is switched to "token"
        --app_id="example_app_id"
        --app_secret="example_app_secret"
        -- Assign this host a certificate for TLS, otherwise it would use the one
        -- set in the global section (if any).
        -- Note that old-style SSL on port 5223 only supports one certificate, and will always
        -- use the global one.
        ssl = {
                key = "/etc/prosody/certs/jitmeet.example.com.key";
                certificate = "/etc/prosody/certs/jitmeet.example.com.crt";
        }
        -- we need bosh
        modules_enabled = {
            "bosh";
            "pubsub";
            "ping"; -- Enable mod_ping
        }

        c2s_require_encryption = false

Component "conference.jitmeet.example.com" "muc"
    storage = "null"
    --modules_enabled = { "token_verification" }
admins = { "focusUser@auth.jitmeet.example.com" }

Component "jitsi-videobridge.jitmeet.example.com"
    component_secret = "jitmeetSecret"

VirtualHost "auth.jitmeet.example.com"
    authentication = "internal_plain"

Component "focus.jitmeet.example.com"
    component_secret = "focusSecret"
