mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #2881: HTTP: Support merging api to server. v5.0.47
This commit is contained in:
parent
6508a082e9
commit
457738f6eb
34 changed files with 333 additions and 934 deletions
|
@ -291,11 +291,12 @@ http_api {
|
|||
# whether http api is enabled.
|
||||
# default: off
|
||||
enabled on;
|
||||
# the http api listen entry is <[ip:]port>
|
||||
# for example, 192.168.1.100:1985
|
||||
# where the ip is optional, default to 0.0.0.0, that is 1985 equals to 0.0.0.0:1985
|
||||
# default: 1985
|
||||
listen 1985;
|
||||
# The http api listen entry is <[ip:]port>, For example, 192.168.1.100:8080, where the ip is optional, default to
|
||||
# 0.0.0.0, that is 8080 equals to 0.0.0.0:8080.
|
||||
# Note that you're able to use a dedicated port for HTTP API, such as 1985, to be different with HTTP server. In
|
||||
# this situation, you you must also set another HTTPS API port.
|
||||
# Default: 1985
|
||||
listen 8080;
|
||||
# whether enable crossdomain request.
|
||||
# default: on
|
||||
crossdomain on;
|
||||
|
@ -320,8 +321,10 @@ http_api {
|
|||
# default: off
|
||||
enabled on;
|
||||
# The listen endpoint for HTTPS API.
|
||||
# default: 1990
|
||||
listen 1990;
|
||||
# Note that you're able to use a dedicated port for HTTPS API, such as 1990, and the HTTP API should not be
|
||||
# the same of HTTP server(8080) neither.
|
||||
# Default: 1990
|
||||
listen 8088;
|
||||
# The SSL private key file, generated by:
|
||||
# openssl genrsa -out server.key 2048
|
||||
# default: ./conf/server.key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue