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

fix forward conf file bug, change pid file. change to 0.9.48

This commit is contained in:
winlin 2014-04-04 15:35:17 +08:00
parent 28b0c3a27f
commit b7093246e4
6 changed files with 65 additions and 54 deletions

View file

@ -3,6 +3,9 @@
# @see full.conf for detail config.
listen 1935;
pid ./objs/srs.master.pid;
srs_log_tank file;
srs_log_file ./objs/srs.master.log;
vhost __defaultVhost__ {
forward 127.0.0.1:19350;
}

View file

@ -3,5 +3,8 @@
# @see full.conf for detail config.
listen 19350;
pid ./objs/srs.slave.pid;
srs_log_tank file;
srs_log_file ./objs/srs.slave.log;
vhost __defaultVhost__ {
}

View file

@ -89,6 +89,7 @@ vhost __defaultVhost__ {
gop_cache on;
http {
enabled on;
mount /;
dir ./objs/nginx/html;
}
}
@ -100,9 +101,11 @@ vhost http.srs.com {
# whether enable the http streaming service for vhost.
# default: off
enabled on;
# the virtual directory root for this vhost to mount at
# for example, if mount to /hls, user access by http://server/hls
mount /hls;
# main dir of vhost,
# to delivery HTTP stream of this vhost.
# default: ./objs/nginx/html;
dir ./objs/nginx/html;
}
}