mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRS5: Refine default config file for SRS. v5.0.120
1. Docker use srs.conf and env variables.
2. Show help if run SRS without any options.
3. Do not guess config file, use whatever from user.
PICK 07a9a005d5
This commit is contained in:
parent
39c9487a73
commit
4045971dea
5 changed files with 17 additions and 46 deletions
|
@ -193,10 +193,10 @@ http_api {
|
|||
# default: off
|
||||
enabled off;
|
||||
# whether enable rpc reload.
|
||||
# Overwrite by env SRS_HTTP_API_RAW_API_ALLOW_RELOAD
|
||||
# default: off
|
||||
allow_reload off;
|
||||
# whether enable rpc query.
|
||||
# Overwrite by env SRS_HTTP_API_RAW_API_ALLOW_RELOAD
|
||||
# Always off by https://github.com/ossrs/srs/issues/2653
|
||||
#allow_query off;
|
||||
# whether enable rpc update.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue