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

refine http server, support mount dir for vhost.

This commit is contained in:
winlin 2015-01-18 13:34:26 +08:00
parent bfff8413b6
commit 4513486266
4 changed files with 41 additions and 2 deletions

View file

@ -0,0 +1,17 @@
# the config for srs to serve as http server
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
http_stream {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
vhost __defaultVhost__ {
http {
enabled on;
mount /default;
dir ./objs/nginx/html;
}
}