mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
override the default nginx page. jump to players page.
This commit is contained in:
parent
66ea34c514
commit
7a21427b10
9 changed files with 25 additions and 7 deletions
|
@ -259,6 +259,13 @@ if [ $SRS_HLS = YES ]; then
|
|||
ln -sf `pwd`/research/players ${SRS_OBJS}/nginx/html/players &&
|
||||
rm -f ${SRS_OBJS}/nginx/crossdomain.xml &&
|
||||
ln -sf `pwd`/research/players/crossdomain.xml ${SRS_OBJS}/nginx/html/crossdomain.xml
|
||||
|
||||
# override the default index.
|
||||
cat <<END > ${SRS_OBJS}/nginx/html/index.html
|
||||
<script type="text/javascript">
|
||||
window.location.href = "players/index.html";
|
||||
</script>
|
||||
END
|
||||
fi
|
||||
|
||||
if [ $SRS_HLS = YES ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue