1
0
Fork 0
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:
winlin 2014-06-21 12:58:33 +08:00
parent 41857edaee
commit e9c96af91a
4 changed files with 32 additions and 1 deletions

11
trunk/conf/edge.conf Normal file
View 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;
}

View 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
View 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__ {
}