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:
parent
5cc1ad6da8
commit
5502344e85
5 changed files with 47 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue