VirtualHost "{tmpl_var name='domain'}" enabled = {tmpl_var name='active'}; authentication = "external"; external_auth_command = "/usr/lib/metronome/isp-modules/mod_auth_external/authenticate_isp.sh"; allow_registration = {tmpl_var name='public_registration'}; registration_url = "{tmpl_var name='registration_url'}"; registration_text = "{tmpl_var name='registration_message'}"; no_registration_whitelist = true; modules_enabled = { "roster", "private", "vcard", "privacy", "pep", "register", "register_redirect", "admin_adhoc", }; disco_items = { { "muc.{tmpl_var name='domain'}", "{tmpl_var name='muc_name'}", }, { "pubsub.{tmpl_var name='domain'}", "{tmpl_var name='domain'} Publish/Subscribe", }, { "proxy.{tmpl_var name='domain'}", "{tmpl_var name='domain'} Bytestream Proxy", }, { "vjud.{tmpl_var name='domain'}", "{tmpl_var name='domain'} User Directory", }, }; admins = { {tmpl_var name='domain_admins'} }; ssl = { key = "/etc/metronome/certs/{tmpl_var name='domain'}.key", certificate = "/etc/metronome/certs/{tmpl_var name='domain'}.cert", }; VirtualHost "anon.{tmpl_var name='domain'}" enabled = true; authentication = "anonymous"; allow_anonymous_multiresourcing = true; anonymous_jid_gentoken = "{tmpl_var name='domain'} Anonymous User"; admins = { }; Component "muc.{tmpl_var name='domain'}" "muc" modules_enabled = { "muc_limits", "muc_log", "muc_log_http", "pastebin", }; muc_event_rate = 0.7; muc_burst_factor = 13; muc_log_presences = false; muc_log_http_config = { show_join = {tmpl_var name='archive_join'}, show_status = {tmpl_var name='archive_status'}, theme = "metronome", url_base = "logs", }; pastebin_path = "/pastes/"; pastebin_expire_after = {tmpl_var name='pastebin_expire'}; pastebin_trigger = "{tmpl_var name='pastebin_trigger'}"; name = "{tmpl_var name='muc_name'}"; restrict_room_creation = "{tmpl_var name='muc_restrict_room_creation'}"; admins = { {tmpl_var name='muc_admins'} }; Component "pubsub.{tmpl_var name='domain'}" "pubsub" name = "{tmpl_var name='domain'} Publish/Subscribe"; unrestricted_node_creation = false; Component "proxy.{tmpl_var name='domain'}" "proxy65" proxy65_acl = { "{tmpl_var name='domain'}", }; proxy65_interfaces = { "*", "::", }; proxy65_ports = { 5000, }; Component "vjud.{tmpl_var name='domain'}" "vjud" ud_disco_name = "{tmpl_var name='domain'} User Directory"; synchronize_to_host_vcards = "{tmpl_var name='domain'}"; vjud_mode = "{tmpl_var name='vjud_opt_mode'}";