Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pidfile = "prosody.pid"
- --
- -- Datenbankanbindung
- ---------------------------------
- storage = "sql"
- sql = {
- driver = "MySQL";
- database = "admin_xmpp";
- host = "localhost";
- username = "prosody";
- password = "xxx";
- }
- --
- -- Authentifizierung
- ---------------------------------
- -- Passwörter gehashed abspeichern
- authentication = "internal_hashed"
- -- Admin-Account festlegen
- admins = { "benjamin@xmpp.rezensionaer.de" }
- --
- -- TLS Konfiguration
- ---------------------------------
- -- Verschlüsselte Verbindungen zu Clients und Servern erzwingen
- c2s_require_encryption = true;
- s2s_require_encryption = true;
- -- Server müssen keine anerkannten, gültigen Zertifikate vorweisen (erlaubt Self-Signed zertifikate auf anderen Servern)
- -- Alternativ: auf "true" setzen und ggf. s2s_insecure_domains angeben (siehe Prosody Doku)
- s2s_secure_auth = false;
- -- Die folgenden Server müssen immer gültige Zertifikate vorweisen können:
- s2s_secure_domains = { "trashserver.net", "jabber.org", "xmpp.org", "einfachjabber.de", "jabber.at", "jabber.de" };
- ssl = {
- options = { "no_sslv2", "no_sslv3", "no_compression" };
- dhparam = "/etc/myssl/dh2048.pem";
- key = "/etc/myssl/priv.key";
- certificate = "/etc/myssl/cert.crt";
- }
- --
- -- Prosody Module
- ---------------------------------
- -- Pfad zu den Prosody-Modulen
- plugin_paths = { "/opt/prosody-modules" }
- -- Aktivierte Module (global, für alle vHosts)
- modules_enabled = {
- -- Wichtige Module
- "roster";
- "saslauth";
- "tls";
- "dialback";
- "disco";
- -- Empfohlene Module
- "private";
- "vcard";
- "offline";
- "admin_adhoc";
- "http";
- -- Nice to have
- "legacyauth";
- "version";
- "uptime";
- "time";
- "ping";
- "register_web";
- "register";
- "posix";
- "bosh";
- "announce";
- "proxy65";
- "pep";
- "smacks";
- "carbons";
- "blocking";
- "http_upload";
- "saslauth";
- "tls";
- "dialback";
- "disco";
- -- Empfohlene Module
- "private";
- "vcard";
- "offline";
- "admin_adhoc";
- "http";
- -- Nice to have
- "legacyauth";
- "version";
- "uptime";
- "time";
- "ping";
- "register_web";
- "register";
- "posix";
- "bosh";
- "announce";
- "proxy65";
- "pep";
- "smacks";
- "carbons";
- "blocking";
- "http_upload";
- "csi";
- "mam";
- "lastlog";
- "cloud_notify";
- "compat_dialback";
- };
- --
- -- MAM settings
- -- (Chats nicht standardmä�^�ig loggen, nach einem Monat vom Server löschen)
- ----------------------------
- default_archive_policy = false;
- archive_expires_after = "1m";
- --
- -- HTTP Config
- ----------------------------------
- http_default_host = "xmpp.rezensionaer.de"
- http_paths = {
- register_web = "/register";
- }
- -- BOSH-Funktionalität auch für Clients auf anderen Domains freigeben
- "lastlog";
- "cloud_notify";
- "compat_dialback";
- };
- --
- -- MAM settings
- -- (Chats nicht standardmä�^�ig loggen, nach einem Monat vom Server löschen)
- ----------------------------
- default_archive_policy = false;
- archive_expires_after = "1m";
- --
- -- HTTP Config
- ----------------------------------
- http_default_host = "xmpp.rezensionaer.de"
- http_paths = {
- register_web = "/register";
- }
- -- BOSH-Funktionalität auch für Clients auf anderen Domains freigeben
- -- BOSH steht unter https://xmpp.rezensionaer.de:5281/http-bind/ zur Verfügung
- cross_domain_bosh = true;
- --
- -- Service Discovery
- ----------------------------------
- -- Multi-User-Chat (MUC) soll als verfügbarer XMPP Dienst aufgeführt werden
- disco_items = {
- { "conference.xmpp.rezensionaer.de", "Der Gruppenchat" };
- }
- --
- -- XMPP VirtualHosts
- ------------------------------------
- -- xmpp.rezensionaer.de als einziger XMPP-vHost
- VirtualHost "xmpp.rezensionaer.de"
- allow_registration = true
- min_seconds_between_registrations = 60
- http_host = "xmpp.rezensionaer.de"
- -- Einstellungen zum MUC
- Component "conference.xmpp.rezensionaer.de" "muc"
- name = "Xmpp Chatrooms"
- restrict_room_creation = false
- max_history_messages = 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement