mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support include empty config file. v5.0.173 (#3768)
SRS supports including another configuration in the include package. When generating configurations, we can only generate the changed configurations, while the unchanged configurations are in the fixed files, for example: ```nginx listen 1935; include server.conf; ``` In `server.conf`, we can manage the changing configurations with the program: ```nginx http_api { enabled on; } ``` However, during system initialization, we often create an empty `server.conf`, and the content is generated only after the program starts, so `server.conf` might be an empty file. This also makes it convenient to use a script to confirm the existence of this file: ```bash touch server.conf ``` Currently, SRS does not support empty configurations and will report an error. This PR is to solve this problem, making it more convenient to use include. `TRANS_BY_GPT4` --------- Co-authored-by: Haibo Chen <495810242@qq.com>
This commit is contained in:
parent
20f238eb9a
commit
fdcff383ae
8 changed files with 122 additions and 19 deletions
27
README.md
27
README.md
|
@ -11,7 +11,7 @@
|
|||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fossrs%2Fsrs?ref=badge_small)
|
||||
[](https://ossrs.net/lts/zh-cn/faq)
|
||||
[](https://stackoverflow.com/questions/tagged/simple-realtime-server)
|
||||
[](https://opencollective.com/srs-server/contribute)
|
||||
[](https://opencollective.com/srs-server)
|
||||
[](https://hub.docker.com/r/ossrs/srs/tags)
|
||||
[](https://cloud.digitalocean.com/droplets/new?appId=133468816&size=s-1vcpu-512mb-10gb®ion=sgp1&image=ossrs-srs&type=applications)
|
||||
|
||||
|
@ -104,15 +104,26 @@ Other important wiki:
|
|||
* Usage: What are the strategies for improving edge performance on multiple CPUs? ([CN](https://ossrs.net/lts/zh-cn/docs/v5/doc/reuse-port), [EN](https://ossrs.io/lts/en-us/docs/v5/doc/reuse-port))
|
||||
* Usage: How can bugs be reported or contact be made with us? ([CN](https://ossrs.net/lts/zh-cn/contact), [EN](https://ossrs.io/lts/en-us/contact))
|
||||
|
||||
## Sponsor
|
||||
|
||||
Would you like additional assistance from us? By becoming a sponsor or backer of SRS, we can provide you
|
||||
with the support you need:
|
||||
|
||||
* Backer: $5 per month, online text chat support through Discord.
|
||||
* Sponsor: $100 per month, online meeting support, 1 meeting per month in 1 hour.
|
||||
|
||||
Please visit [OpenCollective](https://opencollective.com/srs-server) to become a backer or sponsor, and send
|
||||
us a direct message on [Discord](https://discord.gg/yZ4BnPmHAd). We are currently providing support to the
|
||||
developers listed below:
|
||||
|
||||
[](https://opencollective.com/srs-server)
|
||||
|
||||
We at SRS aim to establish a non-profit, open-source community that assists developers worldwide in creating
|
||||
their own high-quality streaming and RTC platforms to support your businesses.
|
||||
|
||||
## AUTHORS
|
||||
|
||||
Thank you to all our contributors! 🙏
|
||||
|
||||
[](https://opencollective.com/srs-server/contribute)
|
||||
|
||||
> Note: You may provide financial support for this project by donating [via Open Collective](https://opencollective.com/srs-server/contribute). Thank you for your support!
|
||||
|
||||
The [TOC(Technical Oversight Committee)](trunk/AUTHORS.md#toc), [Developers](trunk/AUTHORS.md#developers) and [contributors](trunk/AUTHORS.md#contributors):
|
||||
The [TOC(Technical Oversight Committee)](trunk/AUTHORS.md#toc) and [contributors](trunk/AUTHORS.md#contributors):
|
||||
|
||||
* [Winlin](https://github.com/winlinvip): Focus on [ST](https://github.com/ossrs/state-threads) and [Issues/PR](https://github.com/ossrs/srs/issues).
|
||||
* [ZhaoWenjie](https://github.com/wenjiegit): Focus on [HDS](https://github.com/simple-rtmp-server/srs/wiki/v4_CN_DeliveryHDS) and [Windows](https://github.com/ossrs/srs/issues/2532).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue