Knowledge Base

HLS streaming breaks after enabling HTTPS

Q After enabling HTTPS, the master playlist (master.m3u8) loads fine, but the individual segment files still try to load over HTTP and fail. How do I fix this?
A Edit mod_hls.conf on the file server:
  • Comment out the line vod_base_url '';
  • Add vod_segments_base_url ''; instead
Then restart nginx:
killall nginx; sleep 1; /usr/local/nginx/sbin/nginx