Hello,
I can't figure out how to create a index.m3u8 playlist file which contains my multiple HLS streams.

My current setup:
laptop streaming webcam using OBS
a VPS server runs nginx with the RTMP module
nginx takes that incoming stream, and chops it up to create HLS
nginx at the same time executes ffmpeg transcoding into a lower bitrate output

Yet I can't figure out how to create the index.m3u8 file, which has the information for the player.

For the player, I am using videojs (from videojs.com)

Any pointers as to fixing this?

Thank you!