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 install SSL and serve HTTPS streaming #1992

Closed
manuelvita96 opened this issue Oct 15, 2020 · 6 comments
Closed

How to install SSL and serve HTTPS streaming #1992

manuelvita96 opened this issue Oct 15, 2020 · 6 comments
Assignees
Labels
Feature It's a new feature. TransByAI Translated by AI/GPT.
Milestone

Comments

@manuelvita96
Copy link

Hi, I use Ubuntu 16 server with apache and let's encrypt certificates. I have compiled SRS today directly from Git, so I have the latest version. I'm trying to enable HTTPS on all site, I have a player which load HSL stream passed by RTMP. How can I enable SSL? Now I receive the connection closed error

@codihaus
Copy link

I'm wondering this too,

I tried to setup an NGINX proxy, add SSL to that proxy, but couldn't use proxy_pass to pass the request of m3u8 to origin side.

:(

@lgjluis
Copy link

lgjluis commented Oct 28, 2020

I can help you. lgjluis@gmail.com

@alongL
Copy link
Contributor

alongL commented Nov 2, 2020

use nginx reverse proxy. install ssl certificate for nginx and setup reverse proxy.
how to install ssl certificate? please search in google.
setup reverse proxy can see this:

	location ^~/live/ {
		proxy_pass http://127.0.0.1:8080;
	}

all the request to http://abc.com/live/tv.m3u8 will to http://127.0.0.1:8080/live/tv.m3u8 , while srs listen on 8080.

same question: https://github.com/ossrs/srs/issues/1142
please search issues before ask.

@winlinvip
Copy link
Member

winlinvip commented Nov 3, 2020

Use Nginx or Caddy as a proxy to provide unified HTTP/HTTPS services, refer to #2881

TRANS_BY_GPT3

@winlinvip
Copy link
Member

Fixed in #1657 (comment)

@winlinvip winlinvip self-assigned this Aug 29, 2021
@winlinvip winlinvip added the Feature It's a new feature. label Aug 29, 2021
@winlinvip winlinvip added this to the SRS 4.0 release milestone Aug 29, 2021
@winlinvip
Copy link
Member

See #2881 (comment)

@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature It's a new feature. TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

5 participants