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

vhost supports wildcard subdomains #492

Closed
walkermi opened this issue Sep 22, 2015 · 12 comments
Closed

vhost supports wildcard subdomains #492

walkermi opened this issue Sep 22, 2015 · 12 comments
Assignees
Labels
Feature It's a new feature. TransByAI Translated by AI/GPT.
Milestone

Comments

@walkermi
Copy link
Contributor

walkermi commented Sep 22, 2015

  1. Can it support the "include" directive in conf files similar to nginx? This would make it easier to manage multiple vhosts.

  2. Can it support wildcard domain vhosts, such as _.srs.com and _.demo.srs.com?

TRANS_BY_GPT3

@walkermi
Copy link
Contributor Author

walkermi commented Sep 22, 2015

The mobile submission cannot display asterisks, there are asterisks in front of the domain name!

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Sep 23, 2015

  1. The RAW API will support API management configuration, and the configuration file will become internal. Reference: Support RAW API, support read/write API, which means support calling the http API to modify configuration and reload. #319
  2. Why is it necessary to support wildcard domains, such as *.srs.com?

TRANS_BY_GPT3

@walkermi
Copy link
Contributor Author

walkermi commented Sep 23, 2015

For example, both sets of wildcard domains, _.srs.net and _.srs.com, are resolved to the same IP address of SRS. Each set has its own separate conf information.
We want 123.srs.net, 456.srs.net, demo.srs.net... to have the same configuration. And xoxo.srs.com, xxxx.srs.com, yyyy.srs.com... to have another configuration. If wildcard domains are not supported, how many VHosts do we need to write?

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Sep 23, 2015

Why are there so many subdomains? What is your business?

I will do my best!
winlin.

On 2015-09-23 14:19:53, "walkermi" notifications@github.com wrote:

For example, both .srs.net and .srs.com wildcard domains are resolved to the same SRS IP, but each group has its own separate conf information. I hope that 123.srs.net, 456.srs.net, demo.srs.net... have the same configuration, and xoxo.srs.com, xxxx.srs.com, yyyy.srs.com... have another configuration. If wildcard domains are not supported, how many VHosts would need to be written?

—' translates to '—' in English.
Reply to this email directly or view it on GitHub.

TRANS_BY_GPT3

@walkermi
Copy link
Contributor Author

walkermi commented Sep 23, 2015

A small platform for individuals (wedding photography, company meeting recording). Each registrant can have their own second-level or third-level domain name, and the APP and Stream can be independently customized under the domain name.

TRANS_BY_GPT3

@walkermi
Copy link
Contributor Author

walkermi commented Sep 23, 2015

For example, when user A registers, they automatically obtain the domain name usera.srs.com and can create multiple apps under that VHost.

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Sep 23, 2015

Oh, I see. Why not use multiple apps and streams instead of multiple subdomains?

TRANS_BY_GPT3

@winlinvip winlinvip changed the title 对vhost配置的几个建议 vhost支持通配子域名 Sep 23, 2015
@walkermi
Copy link
Contributor Author

walkermi commented Sep 23, 2015

What if both user A and user B want to create an app called "live"? What if there are even dozens of users on the platform who want to have an app called "live"?

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Sep 23, 2015

Registrants can have multiple users, and each user can choose their own app and stream.

TRANS_BY_GPT3

@walkermi
Copy link
Contributor Author

walkermi commented Sep 23, 2015

Yes, that's the requirement.

TRANS_BY_GPT3

@winlinvip winlinvip added the Feature It's a new feature. label Sep 23, 2015
@winlinvip winlinvip added this to the srs 3.0 release milestone Sep 23, 2015
@limjoe
Copy link

limjoe commented Dec 2, 2020

There is also such a scenario to solve the limitation of the number of concurrent streams pulled by the web player under the same domain name.

In the large screen monitoring business, a large screen will simultaneously play 8 or more than 16 video streams. However, the browser has limitations on the number of streams pulled under the same domain name.

TRANS_BY_GPT3

@winlinvip winlinvip self-assigned this Aug 24, 2021
@winlinvip winlinvip modified the milestones: 5.0, 6.0 Jan 2, 2023
@winlinvip
Copy link
Member

SRS 4.0 supports include.

@winlinvip winlinvip modified the milestones: 6.0, 4.0 Jan 2, 2023
@winlinvip winlinvip changed the title vhost支持通配子域名 vhost supports wildcard subdomains Jul 27, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 27, 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

3 participants