mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
15 lines
426 B
Text
15 lines
426 B
Text
# security config for srs, allow play and deny publish.
|
|
# @see https://github.com/ossrs/srs/issues/211#issuecomment-68507035
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
vhost __defaultVhost__ {
|
|
security {
|
|
enabled on;
|
|
deny publish all;
|
|
allow play all;
|
|
}
|
|
}
|