Colibri Stats

Hi there. I have a self jitsi docker installation and i want colibri stats enabled.
in docker compose, on service jvb i have this ports (it is the default configs):
- ‘${JVB_PORT:-10000}:${JVB_PORT:-10000}/udp’
- ‘${JVB_COLIBRI_PORT:-8081}:8080’

In my .env i have COLIBRI_REST_ENABLED=true and if i try it works well.

But it is a private interface, so i want to reach under so on nginx i put

> location /jvb/stats {
>     proxy_set_header Host $host;
>     proxy_set_header X-Real-IP $remote_addr;
>     proxy_pass http://localhost:8081/colibri/stats;
> }

with no success. Is it possible?
Thank you

The target is not localhost but the jvb container. See how we proxy colibri-ws and apply similar logic for sending the traffic to the jvb container.

1 Like