1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support edge token traverse, fix #104. 0.9.129

This commit is contained in:
winlin 2014-06-21 12:39:04 +08:00
parent 10953c9743
commit 41857edaee
7 changed files with 168 additions and 5 deletions

View file

@ -124,8 +124,15 @@ vhost same.edge.srs.com {
# @remark user can specifies multiple origin for error backup, by space,
# for example, 192.168.1.100:1935 192.168.1.101:1935 192.168.1.102:1935
origin 127.0.0.1:1935 localhost:1935;
# for edge, whether open the token traverse mode,
# if token traverse on, all connections of edge will forward to origin to check(auth),
# it's very important for the edge to do the token auth.
# the better way is use http callback to do the token auth by the edge,
# but if user prefer origin check(auth), the token_traverse if better solution.
# default: off
token_traverse off;
}
# vhost for edge, chnage vhost.
# vhost for edge, change vhost.
vhost change.edge.srs.com {
mode remote;
# TODO: FIXME: support extra params.