prosody

- xmpp.supernets.org
git clone git://git.acid.vegas/prosody.git
Log | Files | Refs | Archive | README

prosody.cfg.lua (1026B)

      1 admins = { }
      2 
      3 plugin_paths = { "/usr/local/lib/prosody/modules" }
      4 
      5 pidfile = "/run/prosody/prosody.pid";
      6 
      7 limits = {
      8     c2s   = { rate = "3kb/s";  burst = "2s"; };
      9     s2sin = { rate = "10kb/s"; burst = "5s"; };
     10 }
     11 
     12 log = "*syslog"
     13 
     14 VirtualHost "xmpp.supernets.org"
     15     modules_enabled = { "carbons"; "dialback"; "disco"; "limits"; "pep"; "ping"; "posix"; "register"; "register_limits", "roster"; "saslauth"; "tls"; }
     16 
     17     allow_registration = true -- register
     18     authentication = "internal_hashed" -- register
     19     blacklist_on_registration_throttle_overload = true -- register_limits
     20     c2s_require_encryption = true
     21     min_seconds_between_registrations = 86400 -- register_limits
     22     registration_throttle_cache_size = 100 -- register_limits
     23     s2s_require_encryption = true
     24 
     25     ssl = {
     26         certificate = "/etc/prosody/certs/xmpp.supernets.org/fullchain.pem";
     27         key = "/etc/prosody/certs/xmpp.supernets.org/privkey.pem";
     28     }
     29 
     30     Component "muc.supernets.org" "muc"
     31         name = "SuperNETs XMPP Chatrooms"