pidfile = "/var/run/prosody/prosody.pid"
storage = "sql"
sql = {
driver = "MySQL";
database = "prosody";
host = "localhost";
username = "bn";
password = "pw";
}
plugin_paths = { "/usr/lib/prosody/prosody-modules/" }
admins = {"admin@domain.tld" }
modules_enabled = {
"roster";
"saslauth";
"tls";
"dialback";
"disco";
"private";
"vcard";
"privacy";
"version";
"uptime";
"time";
"ping";
"posix";
"pep";
"register";
"admin_adhoc";
"motd";
"welcome";
"proxy65";
"watchregistrations";
"register_web";
"admin_web";
"http_upload";
}
log = {
debug = "/var/log/prosody/prosody.log";
error = "/var/log/prosody/prosody.err";
}
c2s_require_encryption = true
s2s_require_encryption = true
s2s_secure_auth = true
s2s_secure_domains = { "trashserver.net", "jabber.de", "c0by.de", "jabber.org", "xmpp.org", "xmpp.maltris.org" }
s2s_insecure_domains = {}
proxy65_ports = { 55555 }
authentication = "internal_hashed"
allow_registration = true
min_seconds_between_registrations = 300
registration_blacklist = { "83.218.198.86" }
ssl = {
key = "/etc/prosody/certs/privkey.pem";
certificate = "/etc/prosody/certs/fullchain.pem";
dhparam = "/etc/prosody/certs/dh-4096.pem";
ciphers = "EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:EDH+aRSA:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!SEED:!AES128:!CAMELLIA128";
options = { "no_sslv2", "no_sslv3", "no_ticket", "no_compression", "cipher_server_preference", "single_dh_use", "single_ecdh_use" }
}
VirtualHost "domain.tld"
register_web_template = "/etc/prosody/register-templates/Prosody-Web-Registration-Theme"
Component "proxy.domain.tld" "proxy65"
proxy65_acl = { "domain.tld" }
Component "conference.domain.tld" "muc"
name = "Prosody Chatrooms"
restrict_room_creation = false
Component "upload.domain.tld" "http_upload"