Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Log VLC access requests in nginx

$
0
0
In my company, we have a dreambox that receives satellite channels and broadcast to multiple users. The url to access one channel looks like this: http://192.168.31.62:8001/1:0:1:0A34:3FE:1:D00220:0:1:0: where 192.168.31.62 is the IP of the dreambox. To make it easier for users to access channels, I use nginx as a reverse proxy. Users request http://tv.mydomain.com/channel1 with VLC to get the channel and that works fine.

But the problem occurs when I try to monitor in nginx logs who is watching what. When the request arrives to nginx, nothing appears in the logs but the channel is well displayed in VLC. However, when I close VLC, disconnect information appears in the logs.

Note that if I open the URL from a browser (safari) instead of VLC, the access request appears in the nginx access logs.

Can someone help understand:
- Why logs appear if the request comes from a browser but not from VLC?
- How to make the request appear in nginx logs at connection time?

Thank you in advance.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>