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:
parent
bfff8413b6
commit
4513486266
4 changed files with 41 additions and 2 deletions
17
trunk/conf/http.server.conf
Normal file
17
trunk/conf/http.server.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue