matrix.greif.life-maps.com {
    
    handle /_matrix/* {
        reverse_proxy synapse:8008
    }
    handle /_synapse/* {
        reverse_proxy synapse:8008
    }
    handle /.well-known/matrix/* {
        reverse_proxy synapse:8008
    }

    #  Landing Page
    handle {
        root * /var/www/html
        file_server
    }
}

element.greif.life-maps.com {
    reverse_proxy element:80
}

element-admin.greif.life-maps.com {
    reverse_proxy element-admin:80
}
