Skip to content

Instantly share code, notes, and snippets.

@zhoreeq
Created December 17, 2019 20:43
Show Gist options
  • Save zhoreeq/0f293cc7c338554369261cfdfab55ddc to your computer and use it in GitHub Desktop.
Save zhoreeq/0f293cc7c338554369261cfdfab55ddc to your computer and use it in GitHub Desktop.
prosody.cfg.lua for Yggdrasil XMPP federation
admins = { }
plugin_paths = { "/usr/local/lib/prosody/modules" }
modules_enabled = { "roster", "saslauth", "dialback", "disco", "carbons", "pep", "private",
"blocklist", "vcard4", "vcard_legacy", "version", "uptime", "time", "ping", "register", "mam", "admin_adhoc", "bosh", "posix"}
modules_disabled = {}
allow_registration = true
daemonize = false; pidfile = "/run/prosody/prosody.pid"; use_libevent = true;
c2s_interfaces = { "305:1bba:6a3:7f24::23" }; s2s_interfaces = { "305:1bba:6a3:7f24::23" }
c2s_require_encryption = false; s2s_require_encryption = false; s2s_secure_auth = false;
https_ports = {}; cross_domain_bosh = true; allow_unencrypted_plain_auth = true;
authentication = "internal_hashed"
archive_expires_after = "1w"
log = { info = "/var/log/prosody/prosody.log"; error = "/var/log/prosody/prosody.err"; { levels = { "error" }; to = "syslog"; };}
VirtualHost "anon.station.moe"
authentication = "anonymous"
VirtualHost "chat.station.moe"
Component "conference.station.moe" "muc"
modules_enabled = { "muc_mam" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment