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

add forward sample

This commit is contained in:
winlin 2013-12-01 12:16:57 +08:00
parent 5cc1ad6da8
commit 5502344e85
5 changed files with 47 additions and 22 deletions

View file

@ -67,6 +67,9 @@ if [ $SRS_HLS = YES ]; then
# nginx default use nobody, so cannot read the ts/m3u8 created by srs.
cp ${SRS_OBJS}/nginx/conf/nginx.conf ${SRS_OBJS}/nginx/conf/nginx.conf.bk
sed -i "s/^.user nobody;/user `whoami`;/g" ${SRS_OBJS}/nginx/conf/nginx.conf
# create forward dir
mkdir -p ${SRS_OBJS}/nginx/html/forward
fi
if [ $SRS_HLS = YES ]; then