VirtualHost "{tmpl_var name='domain'}"
enabled = {tmpl_var name='active'};
authentication = "external";
external_auth_command = "/usr/local/lib/prosody/auth/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",
"blocklist",
"pep",
"register",
"register_redirect",
"admin_adhoc",
"http",
"server_status",
"webpresence"
};
disco_items = {
{
"{tmpl_var main_host}",
"HTTP File Upload",
},
{
"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/prosody/certs/{tmpl_var name='domain'}.key",
certificate = "/etc/prosody/certs/{tmpl_var name='domain'}.crt",
};
http_host = 'xmpp.{tmpl_var name='domain'}';
server_status_basepath = "/xmppd/";
server_status_json = true;
server_status_shown_hosts = {
"{tmpl_var name='domain'}",
"anon.fuermann.net",
};
server_status_shown_comps = {
"pubsub.{tmpl_var name='domain'}",
"proxy.{tmpl_var name='domain'}",
"vjud.{tmpl_var name='domain'}",
"muc.{tmpl_var name='domain'}",
}
Component "muc.{tmpl_var name='domain'}" "muc"
modules_enabled = {
"muc_limits",
"muc_log",
"muc_log_http",
"pastebin",
};
muc_event_rate = 0.5;
muc_burst_factor = 8;
muc_log_presences = false;
muc_log_http = {
show_join = {tmpl_var name='archive_join'},
show_presence = {tmpl_var name='archive_join'},
show_status = {tmpl_var name='archive_status'},
theme = "prosody",
url_base = "logs",
};
pastebin_threshold = 500;
pastebin_line_threshold = 4;
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'}";
max_history_messages = 20;
admins = {
{tmpl_var name='muc_admins'}
};
Component "pubsub.{tmpl_var name='domain'}" "pubsub"
name = "{tmpl_var name='domain'} Publish/Subscribe";
Component "proxy.{tmpl_var name='domain'}" "proxy65"
proxy65_acl = {
"{tmpl_var name='domain'}",
};
Component "vjud.{tmpl_var name='domain'}" "vjud"
ud_disco_name = "{tmpl_var name='domain'} User Directory";
vjud_mode = "{tmpl_var name='vjud_opt_mode'}";
VirtualHost "anon.{tmpl_var name='domain'}"
enabled = true;
authentication = "anonymous";
allow_anonymous_multiresourcing = true;
anonymous_jid_gentoken = "{tmpl_var name='domain'} Anonymous User";
admins = {
};