1
0
Fork 0
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:
winlin 2022-12-31 09:38:59 +08:00
parent 39c9487a73
commit 4045971dea
5 changed files with 17 additions and 46 deletions

View file

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