Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to serve hls output under HTTPS #191

Open
nilopaim opened this issue Oct 18, 2021 · 4 comments
Open

How to serve hls output under HTTPS #191

nilopaim opened this issue Oct 18, 2021 · 4 comments

Comments

@nilopaim
Copy link

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?

@kaiiiiiiiii
Copy link

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 :)

@nilopaim
Copy link
Author

@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.

@q191201771
Copy link

Hi, lal (another Go stream server) supported HLS over HTTPS original without proxy, you can try it out.

https://github.com/q191201771/lal

@nilopaim
Copy link
Author

@q191201771 Thanks a lot. I'll verify this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants