mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
625 B
Plaintext
36 lines
625 B
Plaintext
10 years ago
|
listen 1935;
|
||
|
pid ./objs/srs.pid;
|
||
|
srs_log_tank console;
|
||
|
srs_log_level trace;
|
||
|
max_connections 1000;
|
||
|
daemon off;
|
||
|
http_api {
|
||
|
enabled on;
|
||
|
listen 1985;
|
||
|
crossdomain on;
|
||
|
raw_api {
|
||
|
enabled on;
|
||
|
allow_reload on;
|
||
|
allow_query on;
|
||
|
}
|
||
|
}
|
||
|
# for SRS1.
|
||
|
http_stream {
|
||
|
enabled on;
|
||
|
listen 8080;
|
||
|
dir ./objs/nginx/html;
|
||
|
}
|
||
|
vhost __defaultVhost__ {
|
||
|
# for SRS2.
|
||
|
refer github.com github.io;
|
||
|
refer_publish github.com github.io;
|
||
|
refer_play github.com github.io;
|
||
|
|
||
|
# for SRS1.
|
||
|
http {
|
||
|
enabled on;
|
||
|
mount [vhost]/hls;
|
||
|
dir ./objs/nginx/html/hls;
|
||
|
}
|
||
|
}
|