How to use mod_muc_size in dockerized jitsi?

I am using the dockerized jitsi, And I want to use mod_muc_size module. I have added the following to the .env file:

XMPP_MUC_MODULES=token_moderation,muc_size

And in the prosody container I do this:
curl localhost:5280/sessions

And I get the following response as result:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>404 Not Found</title>
<style>
body{
        margin-top:14%;
        text-align:center;
        background-color:#F8F8F8;
        font-family:sans-serif;
}
h1{
        font-size:xx-large;
}
p{
        font-size:x-large;
}
p+p {
        font-size:large;
        font-family:courier;
}
</style>
</head>
<body>
<h1>404 Not Found</h1>
<p>Whatever you were looking for is not here. It&apos;s behind you.</p>
<p>Unknown host: localhost</p>
</body>
</html>

What am I doing wrong?