livego
livego copied to clipboard
How to serve hls output under HTTPS
Is there a way to publish http://{myip}:7002/{appname}/movie.m3u8
using HTTPS?
The page that will reproduce the stream is protected by HTTPS, but I'm get errors indicating that I can't use mixed content (HTTP and HTTPS) on same page.
Any hints?
I'm not that deep into LiveGo, but it looks like SSL doesn't work out of the box. You have to put a SSL reverse proxy in front of it. In a Docker environment ideally via Traefik, alternatively with NGINX. That should do the thing :)
@kaiiiiiiiii Thanks a lot for your answer.
I'm currently using Caddy and not Nginx, but I have the option of set a reverse proxy on Caddy either.
I'll try this approach.
Thanks.
Hi, lal (another Go stream server) supported HLS over HTTPS original without proxy, you can try it out.
https://github.com/q191201771/lal
@q191201771 Thanks a lot. I'll verify this.