admins = { "focus@auth.hatthieves.es" }
plugin_paths = { "/prosody-plugins/", "/prosody-plugins-custom" }
http_default_host = "xmpp.hatthieves.es"


component_ports = { 5347 }


VirtualHost "xmpp.hatthieves.es"

    authentication = "anonymous"

    ssl = {
        key = "/config/certs/xmpp.hatthieves.es.key";
        certificate = "/config/certs/xmpp.hatthieves.es.crt";
    }

    c2s_require_encryption = false

    modules_enabled = {
        "bosh";
        "pubsub";
        "ping";
    }

VirtualHost "auth.hatthieves.es"
    ssl = {
        key = "/config/certs/auth.hatthieves.es.key";
        certificate = "/config/certs/auth.hatthieves.es.crt";
    }
    authentication = "internal_plain"

Component "internal-muc.hatthieves.es" "muc"
    modules_enabled = {
        "ping";
        
    }
    storage = "memory"
    muc_room_cache_size = 1000

Component "muc.hatthieves.es" "muc"
    storage = "memory"
    modules_enabled = {
        
        
    }

Component "focus.xmpp.hatthieves.es"
    component_secret = "s3cr37"

--Component "jvbbrewery.xmpp.hatthieves.es" "muc"
