mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add wiki and conf for token traverse auth
This commit is contained in:
parent
41857edaee
commit
e9c96af91a
4 changed files with 32 additions and 1 deletions
11
trunk/conf/edge.conf
Normal file
11
trunk/conf/edge.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/Edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
pid objs/edge.pid;
|
||||
srs_log_file ./objs/edge.log;
|
||||
vhost __defaultVhost__ {
|
||||
mode remote;
|
||||
origin 127.0.0.1:19350;
|
||||
}
|
10
trunk/conf/edge.token.traverse.conf
Normal file
10
trunk/conf/edge.token.traverse.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
# the config for srs for token traverse authentication
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/DRM
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
vhost __defaultVhost__ {
|
||||
mode remote;
|
||||
origin 127.0.0.1:19350;
|
||||
token_traverse on;
|
||||
}
|
9
trunk/conf/origin.conf
Normal file
9
trunk/conf/origin.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/Edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
pid objs/origin.pid;
|
||||
srs_log_file ./objs/origin.log;
|
||||
vhost __defaultVhost__ {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue